diff options
Diffstat (limited to 'rng.cpp')
-rw-r--r-- | rng.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,10 +69,10 @@ uint32_t KeyRng::get_uniform(uint32_t upbound){ } -uint32_t Arc4Rng::get(){ +uint32_t CryptoRng::get(){ return arc4random(); } -uint32_t Arc4Rng::get_uniform(uint32_t upbound){ +uint32_t CryptoRng::get_uniform(uint32_t upbound){ return arc4random_uniform(upbound); } |