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

FreeBSD Manual Pages

  
 
  

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

N
       rand - generate pseudo-random bytes

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

D
       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.

O
       --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.

       --bbaassee6644
           Perform base64 encoding on the output.

S
       RAND_bytes(3)

3rd Berkeley Distribution           0.9.7a                             RAND(1)

N | S | D | O | S

Want to link to this manual page? Use this URL:
<
https://www.freebsd.org/cgi/man.cgi?query=rand&sektion=1&manpath=FreeBSD+4.11-RELEASE>

home | help