pub struct SchnorrSignature {
pub s: Scalar,
pub r: Point,
}Expand description
Schnorr signature containing the signature scalar and commitment point
Fields§
§s: ScalarSignature scalar s = k + e*sk
r: PointCommitment point R = k*G
Implementations§
Trait Implementations§
Source§impl Clone for SchnorrSignature
impl Clone for SchnorrSignature
Source§fn clone(&self) -> SchnorrSignature
fn clone(&self) -> SchnorrSignature
Returns a duplicate of the value. Read more
1.0.0 · 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 SchnorrSignature
impl Debug for SchnorrSignature
Source§impl Display for SchnorrSignature
impl Display for SchnorrSignature
Source§impl Hash for SchnorrSignature
impl Hash for SchnorrSignature
Source§impl PartialEq for SchnorrSignature
impl PartialEq for SchnorrSignature
impl Eq for SchnorrSignature
impl StructuralPartialEq for SchnorrSignature
Auto Trait Implementations§
impl Freeze for SchnorrSignature
impl RefUnwindSafe for SchnorrSignature
impl Send for SchnorrSignature
impl Sync for SchnorrSignature
impl Unpin for SchnorrSignature
impl UnwindSafe for SchnorrSignature
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