RAND(1) OpenSSL RAND(1) NNAAMMEE rand - generate pseudo-random bytes SSYYNNOOPPSSIISS ooppeennssssll rraanndd [--oouutt _f_i_l_e] [--rraanndd _f_i_l_e_(_s_)] [--bbaassee6644] [--hheexx] _n_u_m DDEESSCCRRIIPPTTIIOONN The rraanndd command outputs _n_u_m pseudo-random bytes after seeding the ran- dom 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 writ- ten back if enough seeding was obtained from these sources. OOPPTTIIOONNSS --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 speci- fied 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. --hheexx Show the output as a hex string. SSEEEE AALLSSOO _R_A_N_D___b_y_t_e_s(3) 1.0.1u 2016-09-22 RAND(1)