Name

rand

Synopsis

The rand command is used to obtain random output from the OpenSSL PRNG.

Options

-out filename

Specify the name of a file to which output from this command will be written. If this option is omitted, stdout will be used.

-rand filename

Specify the name of a file or files that will be used to seed the PRNG. This option follows the guidelines outlined in Chapter 2.

-base64

Cause the output generated from this command to be base64-encoded.

Notes

The number of random bytes to be produced must be specified as the last argument on the command line.