Module libsecp256k1_rs::schnorr [−][src]
Structs
Challenge |
A Challenge of the form H(P || R || ... || m). Challenges are often used in constructing signatures. Since we use SHA256 to derive H(...), the value is a scalar and can be used as a secret key. Thus if we let e = H(R || P || m), we can derive a signature for m, where s = r + e.k and R and P are published: s.G = (r + e.k)G = R + e.P |
Schnorr |
Traits
Combinable |
Objects implementing Combinable can be serialized as bytes for use in producing hash challenges e.g. H( R || T || m) |