Initializing help system before first use

sslrandomdata

sslrandomdata


Purpose
Generate a random data file.
Synopsis
procedure sslrandomdata(fname:string, size:integer)
Arguments
fname 
Name of the file where to save the generated data
size 
Number of bytes to generate
Example
The following statement generates a random key for the default cipher algorithm:
sslrandomdata("mykey",sslkeysize(""))
Further information
This function generates size bytes from a cryptographically strong pseudo-random generator that it saves in the specified file fname.
Related topics
Module