2000-03-01 07:57:25 +00:00
|
|
|
=pod
|
2019-10-30 23:35:08 -04:00
|
|
|
{- OpenSSL::safe::output_do_not_edit_headers(); -}
|
2019-10-12 17:45:56 -04:00
|
|
|
|
2000-03-01 07:57:25 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2019-08-22 01:04:41 +02:00
|
|
|
openssl-rand - generate pseudo-random bytes
|
2000-03-01 07:57:25 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl rand>
|
2016-02-05 11:58:45 -05:00
|
|
|
[B<-help>]
|
2000-03-01 07:57:25 +00:00
|
|
|
[B<-out> I<file>]
|
|
|
|
[B<-base64>]
|
2009-02-02 00:01:28 +00:00
|
|
|
[B<-hex>]
|
Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
2020-01-16 13:40:52 -05:00
|
|
|
{- $OpenSSL::safe::opt_engine_synopsis -}
|
2019-10-12 17:45:56 -04:00
|
|
|
{- $OpenSSL::safe::opt_r_synopsis -}
|
2000-03-01 07:57:25 +00:00
|
|
|
I<num>
|
|
|
|
|
2019-10-11 11:52:12 -04:00
|
|
|
=for openssl ifdef engine
|
2019-09-22 19:49:25 -04:00
|
|
|
|
2000-03-01 07:57:25 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
Command docs: fix up command references
Almost all OpenSSL commands are in reality 'openssl cmd', so make sure
they are refered to like that and not just as the sub-command.
Self-references are avoided as much as is possible, and replaced with
"this command". In some cases, we even avoid that with a slight
rewrite of the sentence or paragrah they were in. However, in the few
cases where a self-reference is still admissible, they are done in
bold, i.e. openssl-speed.pod references itself like this:
B<openssl speed>
References to other commands are done as manual links, i.e. CA.pl.pod
references 'openssl req' like this: L<openssl-req(1)>
Some commands are examples rather than references; we enclose those in
C<>.
While we are it, we abolish "utility", replacing it with "command", or
remove it entirely in some cases.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10065)
2019-10-01 19:43:36 +02:00
|
|
|
This command outputs I<num> pseudo-random bytes after seeding
|
2019-10-03 22:28:40 -04:00
|
|
|
the random number generator once.
|
2000-03-01 07:57:25 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2016-02-05 11:58:45 -05:00
|
|
|
=item B<-help>
|
|
|
|
|
|
|
|
Print out a usage message.
|
|
|
|
|
2019-09-25 15:20:11 -04:00
|
|
|
=item B<-out> I<file>
|
2000-03-01 07:57:25 +00:00
|
|
|
|
|
|
|
Write to I<file> instead of standard output.
|
|
|
|
|
|
|
|
=item B<-base64>
|
|
|
|
|
|
|
|
Perform base64 encoding on the output.
|
|
|
|
|
2009-02-02 00:01:28 +00:00
|
|
|
=item B<-hex>
|
|
|
|
|
|
|
|
Show the output as a hex string.
|
|
|
|
|
Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
2020-01-16 13:40:52 -05:00
|
|
|
{- $OpenSSL::safe::opt_engine_item -}
|
|
|
|
|
2019-10-12 17:45:56 -04:00
|
|
|
{- $OpenSSL::safe::opt_r_item -}
|
|
|
|
|
2000-03-01 07:57:25 +00:00
|
|
|
=back
|
|
|
|
|
2000-03-01 11:45:53 +00:00
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2019-08-22 01:04:41 +02:00
|
|
|
L<openssl(1)>,
|
2015-08-17 15:21:33 -04:00
|
|
|
L<RAND_bytes(3)>
|
2000-03-01 11:45:53 +00:00
|
|
|
|
2016-05-18 11:44:05 -04:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2019-08-22 01:04:41 +02:00
|
|
|
Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 11:44:05 -04:00
|
|
|
|
2018-12-06 14:04:11 +01:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 11:44:05 -04:00
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|