2 - Copyright (C) 2009 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 <!-- Id: genrandom.html,v 1.5 2009/09/19 01:14:52 tbox Exp -->
20 <meta http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
21 <title>genrandom
</title>
22 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.71.1">
24 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF"><div class=
"refentry" lang=
"en">
25 <a name=
"man.genrandom"></a><div class=
"titlepage"></div>
26 <div class=
"refnamediv">
28 <p><span class=
"application">genrandom
</span> — generate a file containing random data
</p>
30 <div class=
"refsynopsisdiv">
32 <div class=
"cmdsynopsis"><p><code class=
"command">genrandom
</code> {
<em class=
"replaceable"><code>size
</code></em>} {
<em class=
"replaceable"><code>filename
</code></em>}
</p></div>
34 <div class=
"refsect1" lang=
"en">
35 <a name=
"id2543351"></a><h2>DESCRIPTION
</h2>
37 <span><strong class=
"command">genrandom
</strong></span>
38 generates a file containing a specified quantity of pseudo-random
39 data, which can be used as a source of entropy for other commands
40 on systems with no random device.
43 <div class=
"refsect1" lang=
"en">
44 <a name=
"id2543364"></a><h2>ARGUMENTS
</h2>
45 <div class=
"variablelist"><dl>
46 <dt><span class=
"term">size
</span></dt>
48 The size of the file, in kilobytes, to generate.
50 <dt><span class=
"term">domain
</span></dt>
52 The file name into which random data should be written.
56 <div class=
"refsect1" lang=
"en">
57 <a name=
"id2543399"></a><h2>SEE ALSO
</h2>
59 <span class=
"citerefentry"><span class=
"refentrytitle">rand
</span>(
3)
</span>,
60 <span class=
"citerefentry"><span class=
"refentrytitle">arc4random
</span>(
3)
</span>
63 <div class=
"refsect1" lang=
"en">
64 <a name=
"id2543426"></a><h2>AUTHOR
</h2>
65 <p><span class=
"corpauthor">Internet Systems Consortium
</span>