From c354a69ee6a9c991d07914c0290433ec3bc05607 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Wed, 28 Mar 2012 04:53:11 -0400 Subject: Test the Mosh crypto layer --- src/crypto/prng.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/crypto/prng.h') diff --git a/src/crypto/prng.h b/src/crypto/prng.h index ef435bd..2f0287c 100644 --- a/src/crypto/prng.h +++ b/src/crypto/prng.h @@ -78,6 +78,12 @@ class PRNG { fill( &x, 4 ); return x; } + + uint64_t uint64() { + uint64_t x; + fill( &x, 8 ); + return x; + } }; #endif -- cgit v1.2.3