| |
- bytes_hash_hex(data: bytes, algorithm: str = 'sha256') -> str
- Get the hex digest from some bytes for some provided hashing algorithm.
- bytes_md5_hex(data: bytes) -> str
- Get the MD5 sum for some bytes.
- create_hex_digest(output: Union[pathlib.Path, str, NoneType], name: str, sources: Union[pathlib.Path, str, NoneType] = None, algorithm: str = 'sha256') -> pathlib.Path
- Create a hex digest file based on file hashes in some directory.
- file_hash_hex(path: Union[pathlib.Path, str, NoneType], algorithm: str = 'sha256') -> str
- Get the hex digest from file data.
- file_md5_hex(path: Union[pathlib.Path, str, NoneType]) -> str
- Get an md5 hex string for a file by path.
- str_hash_hex(data: str, encoding: str = 'utf-8', algorithm: str = 'sha256') -> str
- Get the hex digest for string data.
- str_md5_hex(data: str, encoding: str = 'utf-8') -> str
- Get an md5 hex string from string data.
- validate_hex_digest(path: Union[pathlib.Path, str, NoneType], root: Union[pathlib.Path, str, NoneType] = None, strict: bool = False) -> None
- Attempt to validate a hex-digest file.
|