Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Verifiable Delay Function (VDF)

A cryptographic function that enforces a fixed, sequential computation time, producing an output that can be verified much faster than it was generated.
Chainscore © 2026
definition
CRYPTOGRAPHIC PRIMITIVE

What is a Verifiable Delay Function (VDF)?

A Verifiable Delay Function (VDF) is a cryptographic function that guarantees a minimum computation time, producing a unique output that can be verified quickly by anyone.

A Verifiable Delay Function (VDF) is a cryptographic primitive that enforces a sequential delay in computation, meaning it cannot be significantly sped up by parallel processing or additional hardware. It takes a specific input, performs a predetermined number of sequential steps, and produces a unique output and a succinct proof. The key property is that while computing the output requires a fixed, wall-clock time (e.g., 10 seconds), the accompanying proof allows anyone to verify the result's correctness almost instantly. This creates a trusted, time-based anchor in decentralized systems where participants may have vastly different computational power.

The security of a VDF relies on the inherent sequential nature of the underlying computation, often based on repeated squaring in a group of unknown order, such as an RSA group or a class group. This structure ensures that even an attacker with massive parallelism—like thousands of ASICs or GPUs—cannot compute the result faster than an honest party using a single processor. This property, known as sequentiality, is what makes VDFs distinct from other proof-of-work schemes, which are parallelizable and thus incentivize energy-intensive hardware races. The verifiability is achieved through efficient cryptographic proofs, like Wesolowski or Pietrzak proofs, which are compact and fast to check.

VDFs have critical applications in blockchain consensus and randomness generation. In proof-of-stake systems like Ethereum, VDFs are used to elect block proposers and committees in a fair, unpredictable, and bias-resistant manner, preventing last-reveal attacks. They are also fundamental to creating verifiable randomness beacons (VRFs), providing a decentralized source of public randomness for lotteries, gaming, and cryptographic draws. By providing a objective measure of elapsed time, VDFs enable protocols to coordinate events and achieve consensus on time itself without relying on trusted timestamps or oracles.

Implementing VDFs presents engineering challenges, primarily in ensuring the delay is consistent across different hardware and that the function remains secure against potential cryptographic attacks. Projects like Chia Network pioneered their use for a more sustainable consensus mechanism, while the Ethereum Foundation has sponsored research and development through initiatives like the VDF Alliance. The ongoing development focuses on optimizing the efficiency of both the evaluation and, crucially, the verification components to make VDFs practical for real-world, large-scale decentralized applications.

how-it-works
MECHANICS

How Does a VDF Work?

A Verifiable Delay Function (VDF) is a cryptographic primitive that enforces a minimum, non-parallelizable computation time, whose output can be verified quickly by anyone.

A Verifiable Delay Function (VDF) operates in two distinct phases: evaluation and verification. The core of the evaluation is a sequential function, often a repeated squaring modulo a large integer, that must be computed step-by-step. This inherent sequentiality means the computation cannot be sped up by adding more parallel processors (a property known as non-parallelizability), guaranteeing a precise, real-world time delay. The evaluator produces not only the final output but also a succinct cryptographic proof.

The verification phase is where the VDF's utility becomes clear. Anyone can use this proof to check the correctness of the output in a fraction of the time it took to compute it, often just milliseconds. This is achieved through sophisticated mathematical constructions, such as those based on groups of unknown order (like RSA groups or class groups), where the verifier can efficiently confirm the work was done without re-executing the lengthy sequential steps. This creates a trustless proof of elapsed time.

A critical property of a secure VDF is uniqueness, ensuring that for a given input, there is only one valid output that can be proven correct. This prevents malicious actors from generating alternative, incorrect results with valid-looking proofs. The enforced delay is crucial for applications like random beacon generation in blockchains, where it prevents last-revealer manipulation, and for proof-of-sequential-work, ensuring leaders in consensus protocols cannot gain an advantage through parallel computation.

key-features
CORE PROPERTIES

Key Features of VDFs

Verifiable Delay Functions (VDFs) are cryptographic primitives defined by three essential properties: they enforce a precise time delay, their output is verifiable in a fraction of that time, and they are inherently sequential.

01

Sequentiality

A VDF must be computed sequentially, meaning it cannot be sped up by adding more parallel processors. This inherent sequentiality is the source of the enforced time delay, requiring a minimum number of sequential computational steps. This property is crucial for creating reliable time intervals in decentralized systems, independent of hardware advantages.

02

Verifiability

While computing the VDF output is slow, anyone can verify the correctness of the result almost instantly. This fast verification is achieved using a short proof generated during computation. This asymmetry is fundamental, allowing the network to trust the elapsed time without redoing the lengthy computation.

  • Example: Verifying a VDF that took 10 minutes to compute might take only 10 milliseconds.
03

Uniqueness

For a given input, a VDF must produce a unique, deterministic output. There should be only one valid result for the specified delay parameter. This prevents ambiguity and ensures all honest parties arrive at the same value, which is critical for consensus and leader election protocols where a single, agreed-upon result is required.

04

Delay Parameter (t)

The delay parameter t is a configurable setting that dictates the minimum number of sequential steps required. This parameter directly controls the enforced time delay. A higher t value increases security but also increases computation time. The parameter is set based on the desired security level and the expected speed of honest hardware.

05

Random Beacon Application

A primary use case for VDFs is constructing unbiasable random beacons. By using a publicly known input (like a blockchain block hash) and a prescribed delay, the VDF output serves as a random number that no party could have predicted or influenced ahead of time. This is vital for leader election in proof-of-stake systems and lottery-based protocols.

06

Contrast with Proof-of-Work

VDFs are often compared to Proof-of-Work (PoW) but solve different problems. Both require computational effort, but their properties differ:

  • PoW: Parallelizable, probabilistic, energy-intensive. Used for security through cost.
  • VDF: Inherently sequential, deterministic, energy-efficient for the delay. Used for creating provable elapsed time and unbiased randomness.
primary-use-cases
VERIFIABLE DELAY FUNCTION

Primary Use Cases

Verifiable Delay Functions (VDFs) are cryptographic primitives that guarantee a minimum elapsed time for computation, with a fast verification proof. Their primary applications are in blockchain consensus and randomness generation.

03

Timelock Encryption & Sealed-Bid Auctions

VDFs enable timelock encryption, where a message can be encrypted so that it can only be decrypted after a specific amount of time has passed. Key applications include:

  • Sealed-bid auctions: All bids are submitted encrypted. The decryption key is generated via a VDF, ensuring no bid can be revealed until the auction closes, preventing last-second sniping.
  • Time-release of secrets: Securely schedule the release of cryptographic keys or sensitive data.
04

Enhancing Proof-of-Stake Security

VDFs mitigate long-range attacks and grinding attacks in Proof-of-Stake systems. By introducing a mandatory time delay between the proposal of a block and its finalization, VDFs prevent an adversary with old keys from quickly rewriting history. They also protect against an attacker trying to influence randomness by iterating through many possible validator assignments, as the VDF delay makes this computationally infeasible within a slot.

05

Resource-Efficient Consensus

VDFs provide a low-energy alternative to Proof-of-Work's hash puzzles. While PoW relies on parallelizable computation (solved with more hardware), VDF computation is inherently sequential and non-parallelizable. This means the primary resource cost is time on a single CPU core, drastically reducing energy consumption and hardware centralization pressures compared to ASIC or GPU mining farms.

ecosystem-usage
IMPLEMENTATIONS

Protocols Using VDFs

Verifiable Delay Functions (VDFs) are a critical cryptographic primitive for creating trustless, unpredictable randomness and ensuring fair leader election in decentralized systems. These protocols leverage VDFs to solve core problems in consensus and randomness generation.

RANDOMNESS GENERATION

Comparison with Other Randomness Sources

A technical comparison of Verifiable Delay Functions (VDFs) against other common sources of randomness used in blockchain protocols, focusing on cryptographic properties and protocol guarantees.

Feature / PropertyVerifiable Delay Function (VDF)Verifiable Random Function (VRF)Commit-Reveal SchemeExternal Oracle

Randomness Source

Unpredictable time delay

Private key & input

Participant submissions

Off-chain data feed

Unpredictability Guarantee

Sequential computation

Cryptographic proof

Collusion resistance

Trust in operator

Bias Resistance

High (inherently unbiased)

High (cryptographically proven)

Low (vulnerable to last-revealer)

Variable (depends on source)

Liveness Requirement

High (single prover)

High (designated prover)

High (multiple participants)

High (oracle uptime)

Verification Cost

Moderate (parallel verification)

Low (single proof check)

Low (hash comparisons)

Low (signature check)

Generation Cost

High (fixed time/energy)

Low (instant computation)

Low (delayed reveal)

None (client pays fee)

Decentralization

Proposer can be decentralized

Depends on key holder

Requires participant set

Centralized point of failure

Output Manipulation

Impossible post-commit

Impossible without key

Possible via collusion

Possible by oracle

VERIFIABLE DELAY FUNCTION (VDF)

Technical Deep Dive

A Verifiable Delay Function (VDF) is a cryptographic primitive that guarantees a computation requires a specific, non-parallelizable amount of elapsed time to complete, producing a unique output that can be quickly verified by anyone.

A Verifiable Delay Function (VDF) is a cryptographic primitive that guarantees a computation requires a specific, non-parallelizable amount of elapsed time to complete, producing a unique output that can be quickly verified by anyone. It works by requiring sequential squaring modulo a large integer, a process that cannot be sped up by adding more processors. The function takes an input x and a time parameter T, and produces an output y and a proof π. The key property is that computing y = VDF(x, T) requires T sequential steps, but verifying the correctness of (y, π) is exponentially faster, taking only O(log T) steps. This creates a provable and fair time delay.

security-considerations
VERIFIABLE DELAY FUNCTION (VDF)

Security Considerations & Challenges

While VDFs provide strong guarantees for sequential computation, their implementation and integration into consensus protocols introduce specific security and operational challenges that must be carefully managed.

01

Hardware Trust & Centralization Risk

High-performance VDF implementations often rely on specialized hardware (e.g., ASICs, FPGAs) to generate proofs efficiently. This creates a trust assumption that the hardware is correctly constructed and operates without hidden vulnerabilities. It also risks centralization, as the ability to produce timely proofs may concentrate among a few entities who can afford or build this hardware, undermining decentralization goals.

02

Parameter Selection & Attack Vectors

The security of a VDF depends on correctly setting its time parameter and underlying cryptographic parameters (e.g., RSA modulus size).

  • Incorrect Parameters: If the delay is too short, an adversary with parallel hardware could compute the output faster than honest parties.
  • RSA Group Trust: Many VDFs require a trusted setup to generate a large RSA modulus, introducing a potential single point of failure if the setup is compromised.
  • Adaptive Attacks: An attacker who can influence the VDF input after the computation has started may attempt to bias the final output.
03

Proof Verification & DoS Risks

While VDF outputs are fast to verify, the verification process itself must be robust.

  • Resource Exhaustion: Malicious actors could spam the network with invalid proofs, forcing nodes to waste computational resources on verification, a potential Denial-of-Service (DoS) vector.
  • Implementation Bugs: Bugs in the verification logic could allow an attacker to submit a forged proof that is incorrectly accepted, breaking the protocol's security guarantees.
04

Random Beacon & Biasability

A primary use case for VDFs is constructing unpredictable and unbiasable random beacons for leader election or shard assignment in consensus. The security challenge is ensuring the input to the VDF (the "seed") cannot be manipulated.

  • If an adversary can predict or influence the seed, they can precompute the VDF output, destroying randomness.
  • Protocols must combine VDFs with other mechanisms (like commit-reveal schemes or threshold signatures) to ensure the seed is collectively random and committed before the VDF computation begins.
05

Liveness vs. Safety Trade-offs

Integrating VDFs into blockchain consensus (e.g., for proof-of-sequential-work) creates a fundamental trade-off.

  • Safety: The enforced delay prevents short-range reorganizations and nothing-at-stake problems, enhancing chain security.
  • Liveness: The mandatory time delay inherently slows down the block production rate or finality. If a VDF prover fails, the protocol may stall, creating a liveness failure. Systems must have fallback mechanisms or redundancy to maintain network progress.
06

Quantum Resistance Concerns

Many practical VDF constructions (like Wesolowski or Pietrzak VDFs) rely on the hardness of problems like integer factorization or groups of unknown order, which are vulnerable to sufficiently powerful quantum computers via Shor's algorithm. While the sequential nature of the computation remains, the ability to verify proofs quickly could be compromised. Post-quantum VDF designs based on different mathematical assumptions are an active area of research to address this long-term threat.

VERIFIABLE DELAY FUNCTION

Common Misconceptions

Verifiable Delay Functions (VDFs) are a critical cryptographic primitive for creating trustless time in decentralized systems, but their purpose and properties are often misunderstood.

No, a VDF is not simply a slow hash function; it is a cryptographic primitive that guarantees a minimum, non-parallelizable computation time. While both are sequential, a VDF's key property is verifiability: anyone can quickly verify the correctness of the output without redoing the slow computation. A slow hash function, like a deliberately slowed-down SHA-256, lacks this efficient verification property. The delay in a VDF is enforced by a sequential computation that cannot be sped up by adding more parallel processors, making it fundamentally different from a function that is merely computationally expensive.

VERIFIABLE DELAY FUNCTION

Frequently Asked Questions (FAQ)

Essential questions and answers about Verifiable Delay Functions (VDFs), a cryptographic primitive for creating provably slow computations in decentralized systems.

A Verifiable Delay Function (VDF) is a cryptographic function that requires a prescribed amount of sequential computation (delay) to evaluate, but whose output can be verified as correct by anyone almost instantly. This property makes VDFs uniquely suited for creating trustless, time-based protocols in decentralized networks where participants cannot be trusted to wait a real-world duration. The function ensures the delay is unparallelizable, meaning it cannot be sped up by adding more computational power, only by using faster hardware for the sequential steps. This creates a reliable source of public randomness and enables protocols like leader election or proof-of-elapsed-time without relying on a trusted third party to measure time.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team