$NetBSD: openssl-rand.1,v 1.1 2024/07/12 21:01:08 christos Exp $
-*- mode: troff; coding: utf-8 -*-
Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)
Standard preamble:
========================================================================
..
. ds C` "" . ds C' "" 'br\} . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.
If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================
Title "OPENSSL-RAND 1"
way too many mistakes in technical documents.
-*- mode: troff; coding: utf-8 -*-
Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)
Standard preamble:
========================================================================
..
.... \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
. ds C` "" . ds C' "" 'br\} . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.
If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================
Title "OPENSSL-RAND 1"
OPENSSL-RAND 1 2024-07-11 3.0.14 OpenSSL
For nroff, turn off justification. Always turn off hyphenation; it makesway too many mistakes in technical documents.
NAME
openssl-rand - generate pseudo-random bytes
SYNOPSIS
Header "SYNOPSIS" \fBopenssl rand
[-help]
[-out file]
[-base64]
[-hex]
[-engine id]
[-rand files]
[-writerand file]
[-provider name]
[-provider-path path]
[-propquery propq]
\fInum
DESCRIPTION
Header "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 EVP_RAND\|(7).
OPTIONS
Header "OPTIONS" -help 4
Item "-help" Print out a usage message.
"-out file" 4
Item "-out file" Write to file instead of standard output.
-base64 4
Item "-base64" Perform base64 encoding on the output.
-hex 4
Item "-hex" Show the output as a hex string.
"-engine id" 4
Item "-engine id" See "Engine Options" in openssl\|(1).
This option is deprecated.
"-rand files, -writerand file" 4
Item "-rand files, -writerand file" See "Random State Options" in openssl\|(1) for details.
"-provider name" 4
Item "-provider name" 0
"-provider-path path" 4
Item "-provider-path path" "-propquery propq" 4
Item "-propquery propq" See "Provider Options" in openssl\|(1), provider\|(7), and property\|(7).
"SEE ALSO"
Header "SEE ALSO" \fBopenssl\|(1),
\fBRAND_bytes\|(3),
\fBRAND\|(7),
\fBEVP_RAND\|(7)
HISTORY
Header "HISTORY" The -engine option was deprecated in OpenSSL 3.0.
COPYRIGHT
Header "COPYRIGHT" Copyright 2000-2021 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>.