Seth Woolley's Man Viewer

Manual for rand - man rand

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

RAND(1)                             OpenSSL                            RAND(1)

       rand(1,3) - generate pseudo-random bytes

       openssl rand(1,3) [-out file(1,n)] [-rand file(1,n)(s)] [-base64] num

       The rand(1,3) command outputs num pseudo-random bytes after seeding the ran-
       dom(3,4,6) number generator once.  As in(1,8) other openssl command line tools,
       PRNG seeding uses the file(1,n) $HOME/.rnd or .rnd in(1,8) addition to the files
       given in(1,8) the -rand option.  A new $HOME/.rnd or .rnd file(1,n) will be writ-
       ten back if(3,n) enough seeding was obtained from these sources.

       -out file(1,n)
           Write to file(1,n) instead of standard output.

       -rand file(1,n)(s)
           Use specified file(1,n) or files or EGD socket(2,7,n) (see RAND_egd(3)) for
           seeding the random(3,4,6) 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.

           Perform base64 encoding(3,n) on the output.


0.9.7d                            2001-09-06                           RAND(1)

References for this manual (incoming links)