/opt/cpanel/ea-openssl11/share/doc/openssl/html/man1
NameSizeModeActions
asn1parse.html84190644editdlrm
ca.html316500644editdlrm
CA.pl.html95690644editdlrm
ciphers.html359490644editdlrm
cms.html305600644editdlrm
crl.html48120644editdlrm
crl2pkcs7.html43090644editdlrm
c_rehash.html58130644editdlrm
dgst.html90280644editdlrm
dhparam.html63620644editdlrm
dsa.html72020644editdlrm
dsaparam.html50220644editdlrm
ec.html80690644editdlrm
ecparam.html73020644editdlrm
enc.html170010644editdlrm
engine.html43680644editdlrm
errstr.html19290644editdlrm
gendsa.html41290644editdlrm
genpkey.html141140644editdlrm
genrsa.html52750644editdlrm
list.html34860644editdlrm
nseq.html33410644editdlrm
ocsp.html213580644editdlrm
openssl-asn1parse.html84190644editdlrm
openssl-ca.html316500644editdlrm
openssl-ciphers.html359490644editdlrm
openssl-cms.html305600644editdlrm
openssl-crl.html48120644editdlrm
openssl-crl2pkcs7.html43090644editdlrm
openssl-c_rehash.html58130644editdlrm
openssl-dgst.html90280644editdlrm
openssl-dhparam.html63620644editdlrm
openssl-dsa.html72020644editdlrm
openssl-dsaparam.html50220644editdlrm
openssl-ec.html80690644editdlrm
openssl-ecparam.html73020644editdlrm
openssl-enc.html170010644editdlrm
openssl-engine.html43680644editdlrm
openssl-errstr.html19290644editdlrm
openssl-gendsa.html41290644editdlrm
openssl-genpkey.html141140644editdlrm
openssl-genrsa.html52750644editdlrm
openssl-list.html34860644editdlrm
openssl-nseq.html33410644editdlrm
openssl-ocsp.html213580644editdlrm
openssl-passwd.html43590644editdlrm
openssl-pkcs7.html43140644editdlrm
openssl-pkcs8.html135210644editdlrm
openssl-pkcs12.html158750644editdlrm
openssl-pkey.html63400644editdlrm
openssl-pkeyparam.html34650644editdlrm
openssl-pkeyutl.html141440644editdlrm
openssl-prime.html23610644editdlrm
openssl-rand.html39550644editdlrm
openssl-rehash.html58130644editdlrm
openssl-req.html287540644editdlrm
openssl-rsa.html79270644editdlrm
openssl-rsautl.html80450644editdlrm
openssl-sess_id.html61280644editdlrm
openssl-smime.html212230644editdlrm
openssl-speed.html40590644editdlrm
openssl-spkac.html57540644editdlrm
openssl-srp.html27560644editdlrm
openssl-storeutl.html47390644editdlrm
openssl-s_client.html354850644editdlrm
openssl-s_server.html334900644editdlrm
openssl-s_time.html97260644editdlrm
openssl-ts.html272270644editdlrm
openssl-tsget.html84750644editdlrm
openssl-verify.html326030644editdlrm
openssl-version.html23980644editdlrm
openssl-x509.html374040644editdlrm
openssl.html215120644editdlrm
passwd.html43590644editdlrm
pkcs7.html43140644editdlrm
pkcs8.html135210644editdlrm
pkcs12.html158750644editdlrm
pkey.html63400644editdlrm
pkeyparam.html34650644editdlrm
pkeyutl.html141440644editdlrm
prime.html23610644editdlrm
rand.html39550644editdlrm
rehash.html58130644editdlrm
req.html287540644editdlrm
rsa.html79270644editdlrm
rsautl.html80450644editdlrm
sess_id.html61280644editdlrm
smime.html212230644editdlrm
speed.html40590644editdlrm
spkac.html57540644editdlrm
srp.html27560644editdlrm
storeutl.html47390644editdlrm
s_client.html354850644editdlrm
s_server.html334900644editdlrm
s_time.html97260644editdlrm
ts.html272270644editdlrm
tsget.html84750644editdlrm
verify.html326030644editdlrm
version.html23980644editdlrm
x509.html374040644editdlrm
Edit: /opt/cpanel/ea-openssl11/share/doc/openssl/html/man1/rand.html (3955B)
rand

NAME

openssl-rand, rand - generate pseudo-random bytes

SYNOPSIS

openssl rand [-help] [-out file] [-rand file...] [-writerand file] [-base64] [-hex] num

DESCRIPTION

This command generates num random bytes using a cryptographically secure pseudo random number generator (CSPRNG).

The random bytes are generated using the RAND_bytes(3) function, which provides a security level of 256 bits, provided it managed to seed itself successfully from a trusted operating system entropy source. Otherwise, the command will fail with a nonzero error code. For more details, see RAND_bytes(3), RAND(7), and RAND_DRBG(7).

OPTIONS

-help

Print out a usage message.

-out file

Write to file instead of standard output.

-rand file...

A file or files containing random data used to seed the random number generator. Multiple files can be specified separated by an OS-dependent character. The separator is ; for MS-Windows, , for OpenVMS, and : for all others. Explicitly specifying a seed file is in general not necessary, see the "NOTES" section for more information.

[-writerand file]

Writes random data to the specified file upon exit. This can be used with a subsequent -rand flag.

-base64

Perform base64 encoding on the output.

-hex

Show the output as a hex string.

NOTES

Prior to OpenSSL 1.1.1, it was common for applications to store information about the state of the random-number generator in a file that was loaded at startup and rewritten upon exit. On modern operating systems, this is generally no longer necessary as OpenSSL will seed itself from a trusted entropy source provided by the operating system. The -rand and -writerand flags are still supported for special platforms or circumstances that might require them.

It is generally an error to use the same seed file more than once and every use of -rand should be paired with -writerand.

SEE ALSO

RAND_bytes(3), RAND(7), RAND_DRBG(7)

COPYRIGHT

Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.