#curve25519 #ristretto255 #secret-key #public-key #rfc9496 #rfc9381

vrf-r255

A Verifiable Random Function built on the ristretto255 group

2 unstable releases

0.1.0 Mar 26, 2024
0.0.0 Apr 22, 2022

#1448 in Cryptography

Download history 9/week @ 2024-02-24 1/week @ 2024-03-02 94/week @ 2024-03-23 46/week @ 2024-03-30 3/week @ 2024-04-06

143 downloads per month

MIT/Apache

19KB
242 lines

vrf-r255

This crate provides an RFC 9381 Verifiable Random Function (VRF), which is the public key version of a keyed cryptographic hash. Only the holder of the secret key can compute the hash, but anyone with the public key can verify the correctness of the hash.

vrf-r255 is built on the ristretto255 group specified in RFC 9496. More specifically, it is an implementation of the ECVRF-RISTRETTO255-SHA512 ciphersuite of the RFC 9381 ECVRF construction.

Minimum Supported Rust Version

Rust 1.60 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer.
  • MSRV is considered exempt from SemVer as noted above.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.6–2.4MB
~52K SLoC