6 rand - generate pseudo-random bytes
21 The B<rand> command outputs I<num> pseudo-random bytes after seeding
22 the random number generator once. As in other B<openssl> command
23 line tools, PRNG seeding uses the file I<$HOME/>B<.rnd> or B<.rnd>
24 in addition to the files given in the B<-rand> option. A new
25 I<$HOME>/B<.rnd> or B<.rnd> file will be written back if enough
26 seeding was obtained from these sources.
34 Print out a usage message.
38 Write to I<file> instead of standard output.
40 =item B<-rand file...>
42 A file or files containing random data used to seed the random number
44 Multiple files can be specified separated by an OS-dependent character.
45 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
48 =item [B<-writerand file>]
50 Writes random data to the specified I<file> upon exit.
51 This can be used with a subsequent B<-rand> flag.
55 Perform base64 encoding on the output.
59 Show the output as a hex string.
69 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
71 Licensed under the OpenSSL license (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>.