Skip to content

Commit

Permalink
Merge pull request #81 from scrtlabs/pub-rng
Browse files Browse the repository at this point in the history
Make internal rng public
  • Loading branch information
liorbond authored Mar 5, 2023
2 parents dfbcc26 + 8531b41 commit c261c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/crypto/src/rng.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use rand_core::{RngCore, SeedableRng};
use sha2::{Digest, Sha256};

pub struct Prng {
rng: ChaChaRng,
pub rng: ChaChaRng,
}

impl Prng {
Expand Down

0 comments on commit c261c4b

Please sign in to comment.