added visibility

This commit is contained in:
Tore Frederiksen
2023-07-02 18:07:54 +02:00
parent 18c22f2ee7
commit c62f2c6bea

View File

@@ -18,9 +18,9 @@ use rayon::prelude::*;
/// A random number generator which can be used to encrypt messages.
pub struct EncryptionRandomGenerator<G: ByteRandomGenerator> {
// A separate mask generator, only used to generate the mask elements.
mask: RandomGenerator<G>,
pub mask: RandomGenerator<G>,
// A separate noise generator, only used to generate the noise elements.
noise: RandomGenerator<G>,
pub noise: RandomGenerator<G>,
}
impl<G: ByteRandomGenerator> EncryptionRandomGenerator<G> {