diff options
Diffstat (limited to 'src/crypto/prng.h')
-rw-r--r-- | src/crypto/prng.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |