Pike v8.1 release 6

Method Nettle.Fortuna()->random_string()


Method random_string

string(8bit) random_string(int(0..) len)

Description

Generates len amount of pseudo random data. In contrast with the Fortuna PseudoRandomData function, which only allows 2^20 bytes of random data per call, the necessary rekey operations are here performed internally, so no such restrictions apply.