Update command list
[oweals/openssl.git] / doc / man1 / openssl-rand.pod.in
1 =pod
2 {- OpenSSL::safe::output_do_not_edit_headers(); -}
3
4 =head1 NAME
5
6 openssl-rand - generate pseudo-random bytes
7
8 =head1 SYNOPSIS
9
10 B<openssl rand>
11 [B<-help>]
12 [B<-out> I<file>]
13 [B<-base64>]
14 [B<-hex>]
15 {- $OpenSSL::safe::opt_engine_synopsis -}
16 {- $OpenSSL::safe::opt_r_synopsis -}
17 I<num>
18
19 =for openssl ifdef engine
20
21 =head1 DESCRIPTION
22
23 This command outputs I<num> pseudo-random bytes after seeding
24 the random number generator once.
25
26 =head1 OPTIONS
27
28 =over 4
29
30 =item B<-help>
31
32 Print out a usage message.
33
34 =item B<-out> I<file>
35
36 Write to I<file> instead of standard output.
37
38 =item B<-base64>
39
40 Perform base64 encoding on the output.
41
42 =item B<-hex>
43
44 Show the output as a hex string.
45
46 {- $OpenSSL::safe::opt_engine_item -}
47
48 {- $OpenSSL::safe::opt_r_item -}
49
50 =back
51
52 =head1 SEE ALSO
53
54 L<openssl(1)>,
55 L<RAND_bytes(3)>
56
57 =head1 COPYRIGHT
58
59 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
60
61 Licensed under the Apache License 2.0 (the "License").  You may not use
62 this file except in compliance with the License.  You can obtain a copy
63 in the file LICENSE in the source distribution or at
64 L<https://www.openssl.org/source/license.html>.
65
66 =cut