compute_sha256_from_string()

def compute_sha256_from_string(value) -> string

Compute the SHA256 hash of a string

Args

  • value: string: The string to hash

Returns

The SHA256 hash of the string

hash_compute_sha256_from_file()

def hash_compute_sha256_from_file(file_path) -> string

Compute the SHA256 hash of a file

Args

  • file_path: string: The path to the file to hash

Returns

The SHA256 hash of the file