aboutsummaryrefslogtreecommitdiff
path: root/rng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rng.cpp')
-rw-r--r--rng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rng.cpp b/rng.cpp
index c9e7f03..aba1c02 100644
--- a/rng.cpp
+++ b/rng.cpp
@@ -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);
}