mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-10 07:08:03 -05:00
added visibility
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user