Trait mc_oblivious_traits::OMapCreator
source · pub trait OMapCreator<KeySize: ArrayLength<u8>, ValueSize: ArrayLength<u8>, R: RngCore + CryptoRng> {
type Output: ObliviousHashMap<KeySize, ValueSize> + Send + Sync + 'static;
// Required method
fn create<M: 'static + FnMut() -> R>(
desired_capacity: u64,
stash_size: usize,
rng_maker: M
) -> Self::Output;
}
Expand description
A factory which makes ObliviousMap objects of some type, based on an ORAM
Required Associated Types§
sourcetype Output: ObliviousHashMap<KeySize, ValueSize> + Send + Sync + 'static
type Output: ObliviousHashMap<KeySize, ValueSize> + Send + Sync + 'static
The storage type produced