d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
33d0a7767d53cb366039fd0ac4f63cf8a9c351b0Tinderbox User - Copyright (C) 2009-2011, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - This Source Code Form is subject to the terms of the Mozilla Public
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - License, v. 2.0. If a copy of the MPL was not distributed with this
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - file, You can obtain one at http://mozilla.org/MPL/2.0/.
ca42dcc0686fefd3db202edab80e5adb09d6add5Evan Hunt<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
ca42dcc0686fefd3db202edab80e5adb09d6add5Evan Hunt<a name="man.genrandom"></a><div class="titlepage"></div>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User — generate a file containing random data
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-n <em class="replaceable"><code>number</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User {<em class="replaceable"><code>size</code></em>}
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User {<em class="replaceable"><code>filename</code></em>}
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>genrandom</strong></span>
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater generates a file or a set of files containing a specified quantity
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater of pseudo-random data, which can be used as a source of entropy for
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater other commands on systems with no random device.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <div class="variablelist"><dl class="variablelist">
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater<dt><span class="term">-n <em class="replaceable"><code>number</code></em></span></dt>
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater In place of generating one file, generates <code class="option">number</code>
e1263b4b9c16f5ecd7640be046b1e1a5c592c1e0Automatic Updater (from 2 to 9) files, appending <code class="option">number</code> to the name.
ca42dcc0686fefd3db202edab80e5adb09d6add5Evan Hunt The size of the file, in kilobytes, to generate.
cb3c295308f7a3acfc748e60231ca05183e4393cAutomatic Updater<dt><span class="term">filename</span></dt>
ca42dcc0686fefd3db202edab80e5adb09d6add5Evan Hunt The file name into which random data should be written.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <span class="refentrytitle">arc4random</span>(3)