pub struct RingSignature {
pub z_s: Vec<Poly>,
pub z_e: Vec<Poly>,
pub c: Vec<Poly>,
}Expand description
A ring signature produced by ring_sign.
The signature proves that one member of the ring signed the message without
revealing which member. Verification via ring_verify requires only the
ring’s public keys.
Fields§
§z_s: Vec<Poly>Secret response polynomials.
z_e: Vec<Poly>Error response polynomials.
c: Vec<Poly>Sequential challenge polynomials.
Trait Implementations§
Source§impl Clone for RingSignature
impl Clone for RingSignature
Source§fn clone(&self) -> RingSignature
fn clone(&self) -> RingSignature
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 moreSource§impl Debug for RingSignature
impl Debug for RingSignature
impl Eq for RingSignature
Source§impl PartialEq for RingSignature
impl PartialEq for RingSignature
Source§fn eq(&self, other: &RingSignature) -> bool
fn eq(&self, other: &RingSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RingSignature
Auto Trait Implementations§
impl Freeze for RingSignature
impl RefUnwindSafe for RingSignature
impl Send for RingSignature
impl Sync for RingSignature
impl Unpin for RingSignature
impl UnsafeUnpin for RingSignature
impl UnwindSafe for RingSignature
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