ecvrf-rs 1.0.0

Elliptic Curve VRF implemented in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;

#[derive(Debug, Error)]
pub enum VRFError {
    #[error("Invalid secret key")]
    InvalidSecretKey {},
    
    #[error("Invalid public key")]
    InvalidPublicKey {},

    #[error("Invalid proof")]
    InvalidProof {},

    #[error("Error decoding proof")]
    DecodeProofError {},
}