Import ezmlm 0.53
[ezmlm] / surf.3
CommitLineData
5b62e993
MW
1.TH surf 3
2.SH NAME
3surf \- Simple Unpredictable Random Function
4.SH SYNTAX
5.B #include <surf.h>
6
7void \fBsurf\fP(\fIout\fR,\fIin\fR,\fIseed\fR);
8
9uint32 \fIout\fR[8];
10.br
11uint32 \fIin\fR[12];
12.br
13uint32 \fIseed\fR[32];
14.SH DESCRIPTION
15.B surf
16changes a 384-bit input to a 256-bit output,
17under control of a 1024-bit seed.
18When the seed is secret,
19.B surf
20appears to be indistinguishable from a completely random
21384-bit-to-256-bit function.
22.SH "SEE ALSO"
23surfpcs(3)