surf(3) surf(3) NNAAMMEE surf - Simple Unpredictable Random Function SSYYNNTTAAXX ##iinncclluuddee <> void ssuurrff(_o_u_t,_i_n,_s_e_e_d); uint32 _o_u_t[8]; uint32 _i_n[12]; uint32 _s_e_e_d[32]; DDEESSCCRRIIPPTTIIOONN ssuurrff changes a 384-bit input to a 256-bit output, under control of a 1024-bit seed. When the seed is secret, ssuurrff appears to be indistin- guishable from a completely random 384-bit-to-256-bit function. SSEEEE AALLSSOO surfpcs(3) surf(3)