3 ms·
Uhh. I'd think, Crypto.Random is supposed to be secure: """Return the specified number of cryptographically-strong random bytes.""" Pretty sad if it is not the
by michwill 11y ago
Uhh. I'd think, Crypto.Random is supposed to be secure:
"""Return the specified number of cryptographically-strong random bytes."""
Pretty sad if it is not the case! Interestingly enough, RNG in pycryptodome which I was using for zerodb is urandom.
https://github.com/Legrandin/pycryptodome/blob/master/lib/Crypto/Random/__init__.py https://github.com/Legrandin/pycryptodome/blob/master/lib/Cr...
Would be interesting to see similar gotchas about that library (though everybody uses PyCrypto, that makes me feel a little paranoid!)