phenotypic.sdk_.bytes_fingerprint#

phenotypic.sdk_.bytes_fingerprint(data: bytes) str[source]#

Return a versioned SHA-256 fingerprint for exact bytes.

Parameters:

data (bytes) – Bytes to fingerprint.

Returns:

A "sha256:<hex>" content fingerprint.

Return type:

str