feat: Use the rand crate for random values instead of sodium

This commit is contained in:
Karolin Varner
2023-11-30 18:23:59 +01:00
committed by Karolin Varner
parent 77cd8a9fd1
commit 5448cdc565
10 changed files with 70 additions and 26 deletions

View File

@@ -0,0 +1,5 @@
pub type Rng = rand::rngs::ThreadRng;
pub fn rng() -> Rng {
rand::thread_rng()
}