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

Method update

src/cryptography/hazmat/primitives/hashes.py:71–74  ·  src/cryptography/hazmat/primitives/hashes.py::HashContext.update

Processes the provided bytes through the hash.

(self, data: Buffer)

Source from the content-addressed store, hash-verified

69
70 @abc.abstractmethod
71 def update(self, data: Buffer) -> None:
72 class="st">"""
73 Processes the provided bytes through the hash.
74 class="st">"""
75
76 @abc.abstractmethod
77 def finalize(self) -> bytes:

Callers 15

testsFunction · 0.45
rustFunction · 0.45
_encrypt_from_partsMethod · 0.45
_verify_signatureMethod · 0.45
_decrypt_dataMethod · 0.45
_wrap_coreFunction · 0.45
_unwrap_coreFunction · 0.45
load_nist_kbkdf_vectorsFunction · 0.45
load_nist_ccm_vectorsFunction · 0.45

Calls

no outgoing calls

Tested by 15

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