[][src]Crate starsig

Schnorr signature implementation.

Structs

BatchVerifier

Batch signature verifier for use with Signature::verify_batched.

Signature

A Schnorr signature.

SingleVerifier

Single signature verifier that implements batching interface.

VerificationKey

Verification key (aka "pubkey") is a wrapper type around a Ristretto point that lets the verifier to check the signature. VerificationKey stores both compressed and decompressed point, so that (1) compression is not performed again when key is appended to the Transcript; (2) decompression failures are handled during decoding and allow key derivation without errors.

Enums

SchnorrError

Represents an error in key aggregation, signing, or verification.

Traits

BatchVerification

Trait for a batch verification of signatures. If you are only verifying signatures, without other proofs, you can use concrete implementation BatchVerifier without rolling out your own.

TranscriptProtocol

Extension trait to the Merlin transcript API that allows committing scalars and points and generating challenges as scalars.