genrandom.html revision d2ebd5d5fba00a44ca49462c6cd4390e9876a137
acb4f5236966c2b680b949c1eda826948b24fc23Mark Andrews<!--
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence -
7c74e180c206e6ed99e8beb820da5f399d845c3eDavid Lawrence - Permission to use, copy, modify, and/or distribute this software for any
7c74e180c206e6ed99e8beb820da5f399d845c3eDavid Lawrence - purpose with or without fee is hereby granted, provided that the above
7c74e180c206e6ed99e8beb820da5f399d845c3eDavid Lawrence - copyright notice and this permission notice appear in all copies.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence -
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - 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.
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence-->
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews<!-- $Id: genrandom.html,v 1.5 2009/09/19 01:14:52 tbox Exp $ -->
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence<html>
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence<head>
7c74e180c206e6ed99e8beb820da5f399d845c3eDavid Lawrence<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
78ff0e94eae96f2cf8bf94454d8ff01ba280d30dMark Andrews<title>genrandom</title>
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence</head>
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley<a name="man.genrandom"></a><div class="titlepage"></div>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley<div class="refnamediv">
be801b0fdbcf9b55b3a8cc6bf042ff6c86be6b11Mark Andrews<h2>Name</h2>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley<p><span class="application">genrandom</span> &#8212; generate a file containing random data</p>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley</div>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley<div class="refsynopsisdiv">
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff<h2>Synopsis</h2>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff<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>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff</div>
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews<div class="refsect1" lang="en">
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff<a name="id2543351"></a><h2>DESCRIPTION</h2>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff<p>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff <span><strong class="command">genrandom</strong></span>
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff generates a file containing a specified quantity of pseudo-random
3d776d762914d1b675b4fd49728ce353ccf6f77eBrian Wellington data, which can be used as a source of entropy for other commands
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff on systems with no random device.
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews </p>
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews</div>
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews<div class="refsect1" lang="en">
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews<a name="id2543364"></a><h2>ARGUMENTS</h2>
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews<div class="variablelist"><dl>
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews<dt><span class="term">size</span></dt>
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews<dd><p>
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence The size of the file, in kilobytes, to generate.
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence </p></dd>
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence<dt><span class="term">domain</span></dt>
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence<dd><p>
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence The file name into which random data should be written.
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafsson </p></dd>
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafsson</dl></div>
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafsson</div>
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafsson<div class="refsect1" lang="en">
91306d962f9d147d94b82fb14edb28f8d907cae7Andreas Gustafsson<a name="id2543399"></a><h2>SEE ALSO</h2>
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence<p>
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence <span class="citerefentry"><span class="refentrytitle">rand</span>(3)</span>,
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence <span class="citerefentry"><span class="refentrytitle">arc4random</span>(3)</span>
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence </p>
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence</div>
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence<div class="refsect1" lang="en">
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence<a name="id2543426"></a><h2>AUTHOR</h2>
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence<p><span class="corpauthor">Internet Systems Consortium</span>
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence </p>
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence</div>
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley</div></body>
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley</html>
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley