MCPcopy Create free account
hub / github.com/Apress/practical-cryptography-in-python / RSAStat

Class RSAStat

src/rsa_oracle_attack.py:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 return int.from_bytes(b, byteorder='big')
40
41class RSAStat:
42 def __init__(self):
43 self.i = 0
44 self.runtime = 0.0
45 self.search_count = 0
46
47# RSA Oracle Attack Component
48class FakeOracle:

Callers 1

attackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected