Expand description
Verifiable Random Function (VRF) using Ed25519.
A VRF produces a pseudorandom output together with a proof that the
output was computed correctly. Given (pubkey, input), anyone can
verify that output = VRF(privkey, input) without seeing privkey.
Construction: ECVRF-EDWARDS25519-SHA512-TAI (simplified, not full RFC 9381).
Structs§
Functions§
- vrf_
verify - Verify that
proof.outputis the correct VRF output forpubkey+input.