MCPcopy
hub / github.com/pyca/cryptography / finalize

Method finalize

src/cryptography/hazmat/primitives/hashes.py:77–80  ·  view source on GitHub ↗

Finalizes the hash context and returns the hash digest as bytes.

(self)

Source from the content-addressed store, hash-verified

75
76 @abc.abstractmethod
77 def finalize(self) -> bytes:
78 """
79 Finalizes the hash context and returns the hash digest as bytes.
80 """
81
82 @abc.abstractmethod
83 def copy(self) -> HashContext:

Callers 15

_encrypt_from_partsMethod · 0.45
_decrypt_dataMethod · 0.45
_wrap_coreFunction · 0.45
_unwrap_coreFunction · 0.45
test_aes_cbc_pkcs5Function · 0.45
test_aes_gcmFunction · 0.45
test_hmacFunction · 0.45
test_invalid_paddingMethod · 0.45
test_padMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_aes_cbc_pkcs5Function · 0.36
test_aes_gcmFunction · 0.36
test_hmacFunction · 0.36
test_invalid_paddingMethod · 0.36
test_padMethod · 0.36
test_unpadMethod · 0.36
test_large_paddingMethod · 0.36
test_bytearrayMethod · 0.36
test_invalid_paddingMethod · 0.36