Inferensys

Glossary

Verifiable Delay Function (VDF)

A function that requires a specified, sequential number of computational steps to evaluate, producing a unique output that can be verified efficiently and publicly, used to prevent front-running or ensure randomness.
Developer demonstrating multi-agent tool use, agent tool selection interface on laptop, casual tech demo moment.
CRYPTOGRAPHIC PRIMITIVE

What is a Verifiable Delay Function (VDF)?

A foundational tool for generating unbiased randomness and preventing manipulation in decentralized systems.

A Verifiable Delay Function (VDF) is a cryptographic primitive that enforces a mandatory, sequential computation time to produce an output, which anyone can then verify efficiently and publicly. Unlike parallelizable proof-of-work, a VDF's evaluation cannot be accelerated by adding more hardware, ensuring a predictable time delay.

The output serves as a proof of elapsed time, making VDFs critical for preventing front-running in decentralized finance and generating unbiased, unpredictable randomness in consensus protocols. The verification process is exponentially faster than the evaluation, allowing resource-constrained nodes to instantly confirm the computation was performed correctly.

FOUNDATIONAL CHARACTERISTICS

Core Properties of a VDF

A Verifiable Delay Function is defined by four essential cryptographic properties that distinguish it from simple proof-of-work or time-lock puzzles. These properties ensure the function is useful for generating unbiased randomness and preventing computational front-running in decentralized protocols.

01

Sequential Computation

The function must be evaluated in a strictly sequential manner. No parallelization advantage is possible, even with an unbounded number of processors. This is the defining characteristic that enforces a real-world time delay. The computation is a single long chain of steps where the output of step n is the input to step n+1, preventing a faster machine from finishing in less wall-clock time than a slower one. This property is often achieved through repeated squaring in a group of unknown order.

02

Efficient Verifiability

While evaluation is slow, verification of the output must be exponentially faster than the computation itself. A verifier should be able to confirm the correctness of the result in logarithmic time, typically O(log(T)), where T is the number of sequential steps. This asymmetry is what makes a VDF practical; anyone can quickly check the proof without redoing the work. This is commonly achieved through a succinct proof generated alongside the output.

03

Unique Output

For a given input and delay parameter, a VDF produces exactly one valid output. This determinism is critical for applications like randomness beacons. If multiple valid outputs were possible, a malicious evaluator could choose the one most favorable to them. The uniqueness property is enforced by the mathematical structure of the function and is verified by the accompanying proof, ensuring no ambiguity exists in the final result.

04

Deterministic Delay

The delay parameter T specifies the exact number of sequential computational steps required. The function's runtime is predictable and non-negotiable. Given a specific hardware setup, the wall-clock time to evaluate the VDF can be estimated with high precision. This contrasts with proof-of-work, where finding a solution is a probabilistic lottery. A VDF guarantees that a specific amount of time has elapsed since the computation began.

VERIFIABLE DELAY FUNCTIONS

Frequently Asked Questions

Clear, technically precise answers to the most common questions about Verifiable Delay Functions (VDFs), their cryptographic foundations, and their role in decentralized systems.

A Verifiable Delay Function (VDF) is a cryptographic primitive that requires a specified, sequential number of computational steps to evaluate, producing a unique output that can be verified efficiently and publicly by anyone. Unlike proof-of-work puzzles, a VDF's computation is inherently sequential—it cannot be parallelized. The function f takes an input x and a time parameter T, and outputs a value y along with a proof π. The key properties are: sequentiality (anyone with fewer than T parallel processors cannot compute the result faster than wall-clock time T), efficient verifiability (the proof π can be checked in O(log T) or even constant time), and uniqueness (for any input, there is exactly one valid output). VDFs are constructed using repeated squaring in groups of unknown order, such as RSA groups or class groups of imaginary quadratic fields. The evaluation performs T sequential squarings: y = g^(2^T) mod N, while the proof is generated using Wesolowski or Pietrzak protocols, enabling a verifier to check correctness without redoing the work.

BEYOND THEORY

Practical Applications of VDFs

Verifiable Delay Functions transform sequential computation from a liability into a cryptographic primitive, enabling trustless randomness, fair ordering, and time-locked security across decentralized systems.

01

Unbiased Randomness Beacons

VDFs generate publicly verifiable randomness that no single party can manipulate. The sequential computation ensures the output cannot be precomputed or biased, even by a powerful adversary.

  • How it works: Multiple participants submit entropy, which feeds into a VDF. The delay prevents any participant from knowing the final output before committing their contribution.
  • Example: The League of Entropy's drand network uses a VDF-inspired approach to produce randomness for Filecoin and other protocols.
  • Key benefit: Eliminates the 'last actor' advantage in randomness generation, where the final participant could bias the result.
< 1 sec
Verification Time
Bias-Proof
Security Guarantee
02

Front-Running Prevention in DeFi

VDFs enforce a mandatory time delay between transaction submission and execution, neutralizing MEV (Maximal Extractable Value) attacks where validators reorder transactions for profit.

  • Mechanism: Transactions are committed to a block, but their ordering is determined by a VDF output that only becomes available after a fixed delay. No one can predict the ordering in advance.
  • Real-world impact: Protocols like UniswapX explore VDF-based ordering to create fair batch auctions where arbitrageurs compete on price rather than gas fees.
  • Result: Reduces the $1B+ annual MEV extraction problem by making transaction ordering unpredictable and tamper-proof.
$1B+
Annual MEV Extracted
Sequential
Computation Model
03

Time-Locked Encryption

VDFs enable encryption that decrypts only after a specific time has elapsed, without requiring a trusted third party to hold the key. The decryption key is the VDF output itself.

  • Use case: Sealed-bid auctions where all bids are encrypted and revealed simultaneously after the auction closes.
  • Use case: Delayed disclosure of sensitive corporate information, ensuring it becomes public at a predetermined future moment.
  • Technical note: Unlike timelock puzzles based on repeated squaring, VDF-based time-lock encryption produces a publicly verifiable proof that the correct delay was performed.
Trustless
Key Release
Verifiable
Delay Proof
04

Proof of History in Consensus

Solana's Proof of History (PoH) is the most prominent production deployment of a VDF, creating a cryptographic clock that orders events without requiring nodes to communicate about time.

  • How it works: A high-frequency VDF runs continuously, producing a sequence of hashes that prove real time has passed between events. Validators use this shared clock to agree on transaction ordering.
  • Performance: Enables sub-second block times by removing the need for validators to coordinate timestamps through consensus messages.
  • Trade-off: Requires specialized hardware (high-core-count CPUs) to run the VDF at speed, introducing some centralization risk in the sequencer role.
400ms
Solana Block Time
SHA-256
Underlying Hash
05

Blockchain Space Race Prevention

In leader-election protocols, VDFs prevent 'grinding' attacks where a validator repeatedly tries different inputs to manipulate their chance of being selected as the next block proposer.

  • Problem without VDFs: A validator could compute many potential leader-election outcomes in parallel and choose the most favorable one.
  • VDF solution: The election seed is fed through a VDF, forcing a sequential delay. By the time the output is known, the window for manipulation has passed.
  • Adoption: Protocols like Chia use VDFs to ensure fair leader election in their Proof-of-Space-and-Time consensus.
Sequential
Forced Computation
Grinding-Proof
Attack Resistance
06

Decentralized Timestamping Services

VDFs provide a cryptographic alternative to trusted timestamping authorities (TSAs), proving that a document existed before a certain time without relying on a centralized service.

  • Process: A document hash is combined with a VDF output from a public randomness beacon. The resulting proof demonstrates the document existed before the VDF computation began.
  • Advantage over TSAs: No single entity controls the timestamp. The proof is mathematically verifiable by anyone, anywhere, without trusting an authority's clock.
  • Integration: Can be combined with transparency logs like Certificate Transparency to create fully decentralized, auditable timestamping infrastructure.
Decentralized
Trust Model
Mathematical
Proof Type
SEQUENTIAL COMPUTATION COMPARISON

VDF vs. Proof-of-Work vs. Time-Lock Puzzles

A technical comparison of three cryptographic primitives that enforce a mandatory time delay through sequential computation, highlighting their distinct verification, parallelism, and use case properties.

FeatureVerifiable Delay FunctionProof-of-WorkTime-Lock Puzzle

Primary Purpose

Enforce a verifiable, sequential time delay for randomness and ordering

Expend computational work to secure a network against Sybil attacks

Encrypt data that can only be decrypted after a sequential computation

Verification Time

< 1 ms (logarithmic)

~1 ms (single hash check)

Linear in computation time (must recompute to verify)

Parallelism Resistance

Public Verifiability

Deterministic Output

Requires Trusted Setup

Depends on construction (Wesolowski: no; Pietrzak: no)

Typical Use Case

Blockchain randomness beacons, leader election, front-running prevention

Nakamoto consensus, spam deterrence, cryptocurrency mining

Sealed-bid auctions, delayed key release, historical document release

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.