dissect.target.helpers.hashutil#

Module Contents#

Functions#

md5

sha1

sha256

common

custom

hash_uri

Hash the target path.

hash_uri_records

Hash uri paths inside the record.

Attributes#

dissect.target.helpers.hashutil.BUFFER_SIZE = 32768#
dissect.target.helpers.hashutil.md5(fh: BinaryIO) tuple[str]#
dissect.target.helpers.hashutil.sha1(fh: BinaryIO) tuple[str]#
dissect.target.helpers.hashutil.sha256(fh: BinaryIO) tuple[str]#
dissect.target.helpers.hashutil.common(fh: BinaryIO) tuple[str]#
dissect.target.helpers.hashutil.custom(fh: BinaryIO, algos: list[str | hashlib._hashlib.HASH]) tuple[str]#
dissect.target.helpers.hashutil.hash_uri(target: dissect.target.target.Target, path: str) tuple[str, str]#

Hash the target path.

dissect.target.helpers.hashutil.hash_uri_records(target: dissect.target.target.Target, record: flow.record.Record) flow.record.Record#

Hash uri paths inside the record.