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

Function bytes_to_int

src/rsa_oracle_attack.py:38–39  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

36 return b
37
38def bytes_to_int(b):
39 return int.from_bytes(b, byteorder='big')
40
41class RSAStat:
42 def __init__(self):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected