Pike v8.1 release 6

Method System.hw_random()


Method hw_random

string(8bit) hw_random(int(0..) length)

Description

Read a specified number of bytes from the hardware random generator, if available. This function will not exist if hardware random is not available. Currently only supports Intel RDRAND CPU instruction.