Docs.rs
ecvrf-0.4.4
ecvrf 0.4.4
Permalink
Docs.rs crate page
GPL-3.0-or-later
Links
Repository
crates.io
Source
Owners
Silur
Dependencies
curve25519-dalek ^3.2.1
normal
rand ^0.7.3
normal
rand_core ^0.5.1
normal
sha3 ^0.9.1
normal
Versions
33.33%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate ecvrf
Version 0.4.4
All Items
Structs
Functions
?
Crate
ecvrf
source
·
[
−
]
Structs
VrfPk
Holds a public key g*sk as usual in ECC
VrfProof
The proof part of our VRF generation
VrfSk
Holds a secret key scalar for generating VRF proofs
Functions
keygen
Generates a crypto-safe secret key using OsRng and the corresponding public key into a tuple
prove
The output of a VRF function is the VRF hash and the proof to verify we generated this hash with the supplied key
verify