npm install

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

Run log — what each step is doing

Press the button above. Lines appear here as the VRF runs.

  1. Generate secret key (SK)
  2. Derive public key (PK)
  3. Prove: π ← prove(SK, α)
  4. Verify: (ok, β) ← verify(PK, α, π)