Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
RAND(1)                             OpenSSL                            RAND(1)

       rand - generate pseudo-random bytes

       ooppeennssssll rraanndd [--oouutt file] [--rraanndd file(s)] [--bbaassee6644] num

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

       --oouutt file
           Write to file instead of standard output.

       --rraanndd file(s)
           Use specified file or files or EGD socket (see RAND_egd(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.

           Perform base64 encoding on the output.


3rd Berkeley Distribution           0.9.7a                             RAND(1)

N | S | D | O | S

Want to link to this manual page? Use this URL:

home | help