[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python Random Number Generator for OTP

Tom <[email protected]> writes:

> Does anyone on the list have some Python source code for an OTP-focused 
> random number generator they'd be willing to share? I'm interested in 
> seeing how different people would approach it?

#! /usr/bin/python


#   random-bytes <n>


#   Writes n cryptographically strong random bytes to stdout.
#   Test with, e.g., random-bytes 16 | hd