Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Schnorr ¶
Schnorr creates a Schnorr signature from a msg and a private key. This signature can be verified with VerifySchnorr. It's also a valid EdDSA signature.
func VerifySchnorr ¶
VerifySchnorr verifies a given Schnorr signature. It returns nil iff the given signature is valid. NOTE: this signature scheme is malleable because the response's unmarshalling is done directly into a big.Int modulo (see nist.Int).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.