Pike v8.1 release 6

Method Crypto.Random.random_string()


Method random_string

string(8bit) random_string(int(0..) 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.