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

Method unpadder

src/cryptography/hazmat/primitives/padding.py:48–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 return PKCS7PaddingContext(self.block_size)
47
48 def unpadder(self) -> PaddingContext:
49 return PKCS7UnpaddingContext(self.block_size)
50
51
52PaddingContext.register(PKCS7PaddingContext)

Callers 15

_decrypt_dataMethod · 0.45
test_aes_cbc_pkcs5Function · 0.45
test_invalid_paddingMethod · 0.45
test_non_bytesMethod · 0.45
test_unpadMethod · 0.45
test_large_paddingMethod · 0.45
test_bytearrayMethod · 0.45
test_invalid_paddingMethod · 0.45
test_non_bytesMethod · 0.45

Calls

no outgoing calls

Tested by 14

test_aes_cbc_pkcs5Function · 0.36
test_invalid_paddingMethod · 0.36
test_non_bytesMethod · 0.36
test_unpadMethod · 0.36
test_large_paddingMethod · 0.36
test_bytearrayMethod · 0.36
test_invalid_paddingMethod · 0.36
test_non_bytesMethod · 0.36
test_unpadMethod · 0.36