cyclonedx._internal.hash

!!! ALL SYMBOLS IN HERE ARE INTERNAL. Everything might change without any notice.

Module Contents

Functions

file_sha1sum(→ str)

Generate a SHA1 hash of the provided file.

cyclonedx._internal.hash.file_sha1sum(filename: str) str

Generate a SHA1 hash of the provided file.

Args:
filename:

Absolute path to file to hash as str

Returns:

SHA-1 hash