Bytes and Big Integers
Python's PyCryptodome library implements this with the methods
bytes_to_long()
andlong_to_bytes()
. You will first have to install PyCryptodome and import it withfrom Crypto.Util.number import *
. For more details check the FAQ.
Solution
Last updated