genrandom.html revision ea94d370123a5892f6c47a97f21d1b28d44bb168
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - Copyright (C) 2009-2011 Internet Systems Consortium, Inc. ("ISC")
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - Permission to use, copy, modify, and/or distribute this software for any
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - purpose with or without fee is hereby granted, provided that the above
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - copyright notice and this permission notice appear in all copies.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync - PERFORMANCE OF THIS SOFTWARE.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync<!-- $Id$ -->
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync<a name="man.genrandom"></a><div class="titlepage"></div>
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync<p><span class="application">genrandom</span> — generate a file containing random data</p>
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync<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>
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync <span><strong class="command">genrandom</strong></span>
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync generates a file or a set of files containing a specified quantity
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync of pseudo-random data, which can be used as a source of entropy for
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync other commands on systems with no random device.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync<dt><span class="term">-n <em class="replaceable"><code>number</code></em></span></dt>
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync In place of generating one file, generates <code class="option">number</code>
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync (from 2 to 9) files, appending <code class="option">number</code> to the name.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync The size of the file, in kilobytes, to generate.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync The file name into which random data should be written.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync <span class="citerefentry"><span class="refentrytitle">rand</span>(3)</span>,
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync <span class="citerefentry"><span class="refentrytitle">arc4random</span>(3)</span>
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync<p><span class="corpauthor">Internet Systems Consortium</span>