5 openssl-rand - generate pseudo-random bytes
20 The B<rand> command outputs I<num> pseudo-random bytes after seeding
21 the random number generator once. As in other B<openssl> command
22 line tools, PRNG seeding uses the file I<$HOME/>B<.rnd> or B<.rnd>
23 in addition to the files given in the B<-rand> option. A new
24 I<$HOME>/B<.rnd> or B<.rnd> file will be written back if enough
25 seeding was obtained from these sources.
33 Print out a usage message.
37 Write to I<file> instead of standard output.
39 =item B<-rand file...>
41 A file or files containing random data used to seed the random number
43 Multiple files can be specified separated by an OS-dependent character.
44 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
47 =item [B<-writerand file>]
49 Writes random data to the specified I<file> upon exit.
50 This can be used with a subsequent B<-rand> flag.
54 Perform base64 encoding on the output.
58 Show the output as a hex string.
69 Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
71 Licensed under the Apache License 2.0 (the "License"). You may not use
72 this file except in compliance with the License. You can obtain a copy
73 in the file LICENSE in the source distribution or at
74 L<https://www.openssl.org/source/license.html>.