Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyca/cryptography
/ DummyHashAlgorithm
Class
DummyHashAlgorithm
tests/doubles.py:36–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
35
36
class
DummyHashAlgorithm(hashes.HashAlgorithm):
37
name =
"dummy-hash"
38
block_size = None
39
digest_size = 32
40
41
42
class
DummyKeySerializationEncryption(
Callers
8
test_rsa_padding_unsupported_pss_mgf1_hash
Method · 0.85
test_skip_if_dsa_not_supported
Function · 0.85
test_unsupported_algorithm
Method · 0.85
test_unsupported_hash
Method · 0.85
test_skip_pss_hash_algorithm_unsupported
Function · 0.85
test_unsupported_hash
Method · 0.85
test_unsupported_hash
Method · 0.85
test_unsupported_algorithm
Method · 0.85
Calls
no outgoing calls
Tested by
8
test_rsa_padding_unsupported_pss_mgf1_hash
Method · 0.68
test_skip_if_dsa_not_supported
Function · 0.68
test_unsupported_algorithm
Method · 0.68
test_unsupported_hash
Method · 0.68
test_skip_pss_hash_algorithm_unsupported
Function · 0.68
test_unsupported_hash
Method · 0.68
test_unsupported_hash
Method · 0.68
test_unsupported_algorithm
Method · 0.68