Crypto Hash Utilities

smith_utils.crypto.get_file_digest(file_path)[source]

Return the SHA-256 hexadecimal digest for the file at file_path.

smith_utils.crypto.get_text_digest(text, encoding='utf-8')[source]

Return the SHA-256 hexadecimal digest for text encoded as encoding.