lib
vrf
Home
What is a VRF?
Live demo
GitHub
English
Français
Español
日本語
npm install
Interactive demo
EC VRF in your browser
What happens in one run?
Input α
your message (UTF-8)
→
prove()
uses SK — only you
→
Proof π
bytes you can send
→
verify()
uses PK — anyone
→
Output β
VRF value (hash)
Glossary — what is what?
Secret key (SK)
Public key (PK)
Input α
Proof π
VRF output β
This EC suite vs RFC 9381
Try it
Input α
Public message — verifiers will need the same bytes
Generate & verify proof
Run log
— what each step is doing
Press the button above. Lines appear here as the VRF runs.
Generate secret key (SK)
Derive public key (PK)
Prove: π ← prove(SK, α)
Verify: (ok, β) ← verify(PK, α, π)
Detailed output — each artifact explained
Secret key (SK)
Status
—
Private scalar
—
Public key (PK)
SPKI size
—
First bytes (hex)
—
Input α
UTF-8 length
—
Hex
—
Proof π
Size
—
Prove time
—
First bytes (hex)
—
VRF output β
Verified?
—
Verify time
—
β (hex)
—