RAND 1 2003-07-24 0.9.9-dev OpenSSL

NAME

rand - generate pseudo-random bytes

LIBRARY

libcrypto, -lcrypto

SYNOPSIS

ooppeennssssll rraanndd [--oouutt _f_i_l_e] [--rraanndd _f_i_l_e_(_s_)] [--bbaassee6644] _n_u_m

DESCRIPTION

The rraanndd command outputs _n_u_m pseudo-random bytes after seeding the random number generator once. As in other ooppeennssssll command line tools, PRNG seeding uses the file _$_H_O_M_E_/..rrnndd or ..rrnndd in addition to the files given in the --rraanndd option. A new _$_H_O_M_E/..rrnndd or ..rrnndd file will be written back if enough seeding was obtained from these sources.

OPTIONS

--oouutt _f_i_l_e Write to _f_i_l_e instead of standard output.
--rraanndd _f_i_l_e_(_s_) Use specified file or files or EGD socket (see _R_A_N_D___e_g_d(3))
for seeding the random number generator. Multiple files can be specified separated by a OS-dependent character. The separator is ;; for MS-Windows, ,, for OpenVMS, and :: for all others.
--bbaassee6644 Perform base64 encoding on the output.

SEE ALSO

_R_A_N_D___b_y_t_e_s(3)