pub struct ProvedMessage1 {
pub ciphertext: BigUint,
pub range_proof: RangeProof,
}Expand description
Proved round-1 message: ciphertext plus its range proof.
Fields§
§ciphertext: BigUintEncrypted k_i under i’s (the initiator’s) Paillier public key.
range_proof: RangeProofZK range proof that the encrypted value is < q³.
Trait Implementations§
Source§impl Clone for ProvedMessage1
impl Clone for ProvedMessage1
Source§fn clone(&self) -> ProvedMessage1
fn clone(&self) -> ProvedMessage1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProvedMessage1
impl RefUnwindSafe for ProvedMessage1
impl Send for ProvedMessage1
impl Sync for ProvedMessage1
impl Unpin for ProvedMessage1
impl UnsafeUnpin for ProvedMessage1
impl UnwindSafe for ProvedMessage1
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