aboutsummaryrefslogtreecommitdiff
path: root/man/man1/rnds.1
blob: 1e76d9a1e6d3c92d0731bb010f46fc73fb033901 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.TH RNDS 1 "August 2016" "Manual page for rnds"
.SH NAME
.B rnds
\- try to get a random seed
.SH SYNOPSIS
.B rnds
.B rnds
1024
.SH DESCRIPTION
.B rnds
uses POSIX tools to try and find a random number device on the system and emits
the first field of a cksum(1) based on it as a low-quality random numeric seed.
The only optional argument allows specifying the number of random bytes to
read, defaulting to 32. This is intended as a low-quality seed for rndi(1).
.P
/dev/arandom is tried first, then /dev/urandom, then /dev/random, before the
script gives up and emits nothing.
.SH SEE ALSO
rndi(1), rnda(1), rndf(1), rndl(1), rndn(6)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>