Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyca/cryptography
/ DummyMode
Class
DummyMode
tests/doubles.py:29–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
28
29
class
DummyMode(Mode):
30
name =
"dummy-mode"
31
32
def
validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None:
33
pass
34
35
36
class
DummyHashAlgorithm(hashes.HashAlgorithm):
Callers
1
test_supports_cipher
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_supports_cipher
Method · 0.68