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

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

#1915 in Cryptography

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
~51K SLoC