pub struct PedersenCommCompressor<C: ProjectiveCurve, I: InjectiveMap<C>, W: Window> { /* private fields */ }Trait Implementations§
Source§impl<C: ProjectiveCurve, I: InjectiveMap<C>, W: Window> CommitmentScheme for PedersenCommCompressor<C, I, W>
impl<C: ProjectiveCurve, I: InjectiveMap<C>, W: Window> CommitmentScheme for PedersenCommCompressor<C, I, W>
type Output = <I as InjectiveMap<C>>::Output
type Parameters = Parameters<C>
type Randomness = Randomness<C>
fn setup<R: Rng>(rng: &mut R) -> Result<Self::Parameters, Error>
fn commit( parameters: &Self::Parameters, input: &[u8], randomness: &Self::Randomness, ) -> Result<Self::Output, Error>
Auto Trait Implementations§
impl<C, I, W> Freeze for PedersenCommCompressor<C, I, W>
impl<C, I, W> RefUnwindSafe for PedersenCommCompressor<C, I, W>
impl<C, I, W> Send for PedersenCommCompressor<C, I, W>
impl<C, I, W> Sync for PedersenCommCompressor<C, I, W>
impl<C, I, W> Unpin for PedersenCommCompressor<C, I, W>
impl<C, I, W> UnwindSafe for PedersenCommCompressor<C, I, W>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more