2 - Copyright (C) 2009-2011, 2014, 2015 Internet Systems Consortium, Inc. ("ISC")
4 - Permission to use, copy, modify, and/or distribute this software for any
5 - purpose with or without fee is hereby granted, provided that the above
6 - copyright notice and this permission notice appear in all copies.
8 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 - PERFORMANCE OF THIS SOFTWARE.
17 <!-- Converted by db4-upgrade version 1.0 -->
18 <refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="man.genrandom">
20 <date>2011-08-08</date>
23 <corpname>ISC</corpname>
24 <corpauthor>Internet Systems Consortium, Inc.</corpauthor>
28 <refentrytitle><application>genrandom</application></refentrytitle>
29 <manvolnum>8</manvolnum>
30 <refmiscinfo>BIND9</refmiscinfo>
34 <refname><application>genrandom</application></refname>
35 <refpurpose>generate a file containing random data</refpurpose>
45 <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
50 <cmdsynopsis sepchar=" ">
51 <command>genrandom</command>
52 <arg choice="opt" rep="norepeat"><option>-n <replaceable class="parameter">number</replaceable></option></arg>
53 <arg choice="req" rep="norepeat"><replaceable class="parameter">size</replaceable></arg>
54 <arg choice="req" rep="norepeat"><replaceable class="parameter">filename</replaceable></arg>
58 <refsection><info><title>DESCRIPTION</title></info>
61 <command>genrandom</command>
62 generates a file or a set of files containing a specified quantity
63 of pseudo-random data, which can be used as a source of entropy for
64 other commands on systems with no random device.
68 <refsection><info><title>ARGUMENTS</title></info>
72 <term>-n <replaceable class="parameter">number</replaceable></term>
75 In place of generating one file, generates <option>number</option>
76 (from 2 to 9) files, appending <option>number</option> to the name.
85 The size of the file, in kilobytes, to generate.
94 The file name into which random data should be written.
101 <refsection><info><title>SEE ALSO</title></info>
105 <refentrytitle>rand</refentrytitle><manvolnum>3</manvolnum>
108 <refentrytitle>arc4random</refentrytitle><manvolnum>3</manvolnum>