man.genrandom.html revision d6fa26d0adaec6c910115be34fe7a5a5f402c14f
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen - Copyright (C) 2000-2015 Internet Systems Consortium, Inc. ("ISC")
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen - This Source Code Form is subject to the terms of the Mozilla Public
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen - License, v. 2.0. If a copy of the MPL was not distributed with this
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen - file, You can obtain one at http://mozilla.org/MPL/2.0/.
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
4ee00532a265bdfb38539d811fcd12d51210ac35Timo Sirainen<link rel="prev" href="man.dnstap-read.html" title="dnstap-read">
4ee00532a265bdfb38539d811fcd12d51210ac35Timo Sirainen<link rel="next" href="man.isc-hmac-fixup.html" title="isc-hmac-fixup">
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen<table width="100%" summary="Navigation header">
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen<tr><th colspan="3" align="center"><span class="application">genrandom</span></th></tr>
64f889c7c1707f9951755c997d750639be5dd41cMartti Rannanjärvi<a accesskey="p" href="man.dnstap-read.html">Prev</a>�</td>
b62139aae0a0099d0ede35b164b2870479f9b027Martti Rannanjärvi<th width="60%" align="center">Manual pages</th>
b62139aae0a0099d0ede35b164b2870479f9b027Martti Rannanjärvi<td width="20%" align="right">�<a accesskey="n" href="man.isc-hmac-fixup.html">Next</a>
82995cc154a929f37aa486a72a6485e9f8d34a30Timo Sirainen<a name="man.genrandom"></a><div class="titlepage"></div>
81e4bda7d481c57cd049a0a68daab733b1ca9c44Timo Sirainen<p><span class="application">genrandom</span> — generate a file containing random data</p>
d7babe048f9ae1afa5357973b8de8c929753a216Timo Sirainen<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>
0dffa25d211be541ee3c953b23566a1a990789dfTimo Sirainen<a name="id-1.14.33.7"></a><h2>DESCRIPTION</h2>
12dc81583d1958cb301a617e19fbd40e8d376397Timo Sirainen <span class="command"><strong>genrandom</strong></span>
503e5ef896c7b4a51cf73efb0d132860a8c747e6Timo Sirainen generates a file or a set of files containing a specified quantity
3851ad9fcb25635f02b46d44586742ef1081876bTimo Sirainen of pseudo-random data, which can be used as a source of entropy for
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen other commands on systems with no random device.
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen<div class="variablelist"><dl class="variablelist">
9b61a6db87c026656f8d2ae214e4486b98a069c0Timo Sirainen<dt><span class="term">-n <em class="replaceable"><code>number</code></em></span></dt>
82995cc154a929f37aa486a72a6485e9f8d34a30Timo Sirainen In place of generating one file, generates <code class="option">number</code>
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen (from 2 to 9) files, appending <code class="option">number</code> to the name.
e83a11eb1dc0dea31754396e1d07c5205d810104Martti Rannanjärvi The size of the file, in kilobytes, to generate.
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen The file name into which random data should be written.
a525be16a69367f43765d20c873b5f168c5b7ea3Martti Rannanjärvi <span class="citerefentry"><span class="refentrytitle">rand</span>(3)</span>,
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen <span class="citerefentry"><span class="refentrytitle">arc4random</span>(3)</span>
82995cc154a929f37aa486a72a6485e9f8d34a30Timo Sirainen<table width="100%" summary="Navigation footer">
82995cc154a929f37aa486a72a6485e9f8d34a30Timo Sirainen<a accesskey="p" href="man.dnstap-read.html">Prev</a>�</td>
82995cc154a929f37aa486a72a6485e9f8d34a30Timo Sirainen<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch13.html">Up</a></td>
82995cc154a929f37aa486a72a6485e9f8d34a30Timo Sirainen<td width="40%" align="right">�<a accesskey="n" href="man.isc-hmac-fixup.html">Next</a>
666286d8ecc6c450b2232dcc628f79454215acfcTimo Sirainen<span class="application">dnstap-read</span>�</td>
666286d8ecc6c450b2232dcc628f79454215acfcTimo Sirainen<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen<td width="40%" align="right" valign="top">�<span class="application">isc-hmac-fixup</span>
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.0rc1</p>