tech-userlevel archive

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

Re: randomness (crypto?) code example wanted please?



On Sun, Jun 25, 2017 at 03:28:59PM +0200, Kamil Rytarowski wrote:
 > On 25.06.2017 14:06, Martin Husemann wrote:
 > > You can also read random bytes from /dev/urandom.
 > 
 > Right this is the most portable solution right now. I don't think
 > RANDOM_BITS or similar is currently useful, it will grow incompatible
 > extension - better to prompt POSIX to standardize something.

You don't want POSIX to start inventing things. Give them an existing
implementation to copy.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index