Pike v8.0 release 1738

Method Crypto.Random.random_string()


Method random_string

string(8bit) random_string(int len)

Description

Returns a string of length len with random content. The content is generated by a Fortuna random generator that is updated with output from /dev/urandom on UNIX and CryptGenRandom on NT.