Documentation ¶
Overview ¶
Package schnorr implements the vanilla Schnorr signature scheme. See https://en.wikipedia.org/wiki/Schnorr_signature.
The only difference regarding the vanilla reference is the computation of the response. This implementation adds the random component with the challenge times private key while the Wikipedia article substracts them.
The resulting signature is compatible with EdDSA verification algorithm when using the edwards25519 group, and by extension the CoSi verification algorithm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SchnorrScheme ¶
type SchnorrScheme struct {
// contains filtered or unexported fields
}
func (*SchnorrScheme) NewKeyPair ¶
Click to show internal directories.
Click to hide internal directories.