openssl-rand - generate pseudo-random bytes
openssl rand [-help] [-out file] [-base64] [-hex] [-engine id] [-rand files] [-writerand file] [-provider name] [-provider_path path] num
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), RAND_DRBG(7).
Print out a usage message.
Write to file instead of standard output.
Perform base64 encoding on the output.
Show the output as a hex string.
See -rand files, -writerand file
See -provider name
See SEE ALSO
Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (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.COPYRIGHT