genrandom.html revision 794b79e6bbc3f5db1ea6ae154d739b9f1ef1a375
012a352f4b26cfd874db8d06debc495c2303e8b2Bob Halley<!--
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - Copyright (C) 2009-2011, 2014 Internet Systems Consortium, Inc. ("ISC")
33cc94f04cb44dc247f605a954e45e5adc699977Automatic Updater -
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - Permission to use, copy, modify, and/or distribute this software for any
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence - purpose with or without fee is hereby granted, provided that the above
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater - copyright notice and this permission notice appear in all copies.
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley -
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - PERFORMANCE OF THIS SOFTWARE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews-->
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews<!-- $Id$ -->
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley<html>
12a3ab37fe6556406acdf92fc7c5f198d603ca2eMark Andrews<head>
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<title>genrandom</title>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley</head>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<a name="man.genrandom"></a><div class="titlepage"></div>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<div class="refnamediv">
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<h2>Name</h2>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<p><span class="application">genrandom</span> &#8212; generate a file containing random data</p>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley</div>
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley<div class="refsynopsisdiv">
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<h2>Synopsis</h2>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<div class="cmdsynopsis"><p><code class="command">genrandom</code> [<code class="option">-n <em class="replaceable"><code>number</code></em></code>] {<em class="replaceable"><code>size</code></em>} {<em class="replaceable"><code>filename</code></em>}</p></div>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley</div>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<div class="refsect1" lang="en">
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley<a name="id2543369"></a><h2>DESCRIPTION</h2>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<p>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence <span><strong class="command">genrandom</strong></span>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence generates a file or a set of files containing a specified quantity
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley of pseudo-random data, which can be used as a source of entropy for
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley other commands on systems with no random device.
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence </p>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence</div>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<div class="refsect1" lang="en">
fcb54ce0a4f7377486df5bec83b3aa4711bf4131Mark Andrews<a name="id2543382"></a><h2>ARGUMENTS</h2>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<div class="variablelist"><dl>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<dt><span class="term">-n <em class="replaceable"><code>number</code></em></span></dt>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<dd><p>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence In place of generating one file, generates <code class="option">number</code>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence (from 2 to 9) files, appending <code class="option">number</code> to the name.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley </p></dd>
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence<dt><span class="term">size</span></dt>
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence<dd><p>
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence The size of the file, in kilobytes, to generate.
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence </p></dd>
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews<dt><span class="term">filename</span></dt>
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews<dd><p>
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews The file name into which random data should be written.
12a3ab37fe6556406acdf92fc7c5f198d603ca2eMark Andrews </p></dd>
f5cfcbf2f7906fb59c2b8b9b8fc9c7a75ac44dabMark Andrews</dl></div>
2d46d268ccff30bb50e661b47c6496d23d9156c7Mark Andrews</div>
2d46d268ccff30bb50e661b47c6496d23d9156c7Mark Andrews<div class="refsect1" lang="en">
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews<a name="id2543443"></a><h2>SEE ALSO</h2>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<p>
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence <span class="citerefentry"><span class="refentrytitle">rand</span>(3)</span>,
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence <span class="citerefentry"><span class="refentrytitle">arc4random</span>(3)</span>
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence </p>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence</div>
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence<div class="refsect1" lang="en">
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<a name="id2543469"></a><h2>AUTHOR</h2>
596912ee9ca8eb14d30707ec286ab5d28bd39b3eMark Andrews<p><span class="corpauthor">Internet Systems Consortium</span>
8319af16557b81eba3277ee67215285f0823b587Mark Andrews </p>
8319af16557b81eba3277ee67215285f0823b587Mark Andrews</div>
aee5e9cbacd8f88325840b8a498876f4319b0890Mark Andrews</div></body>
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence</html>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence