schnorr-signatures

Crates.ioschnorr-signatures
lib.rsschnorr-signatures
version0.5.2
created_at2022-10-29 04:35:26.390931+00
updated_at2025-08-20 01:52:36.284821+00
descriptionMinimal Schnorr signatures crate hosting common code
homepage
repositoryhttps://github.com/serai-dex/serai/tree/develop/crypto/schnorr
max_upload_size
id700846
size35,147
Luke Parker (kayabaNerve)

documentation

README

Schnorr Signatures

A challenge (and therefore HRAm) agnostic Schnorr signature library. This is intended to be used as a primitive by a variety of crates relying on Schnorr signatures, voiding the need to constantly define a Schnorr signature struct with associated functions.

This library provides signatures of the R, s form. Batch verification is supported via the multiexp crate. Half-aggregation, as defined in https://eprint.iacr.org/2021/350, is also supported.

This library was audited by Cypher Stack in March 2023, culminating in commit 669d2dbffc1dafb82a09d9419ea182667115df06. Any subsequent changes have not undergone auditing.

This library is usable under no_std, via alloc, when the default features are disabled.

Commit count: 1878

cargo fmt