method

write_random_file

ruby latest stable - Class: OpenSSL::Random
write_random_file(p1)
public

Writes a number of random generated bytes (currently 1024) to filename which can be used to initialize the PRNG by calling ::load_random_file in a later session.