Apex › Cryptography

A clock you can’t rush (verifiable delay function)

A computation that provably takes a set amount of sequential time to evaluate but is fast to verify. Wesolowski’s VDF is y = x^(2ᵀ) mod N, computed by squaring x, T times in a row — each square needs the last, so the T-step delay can’t be parallelized, and there’s no shortcut without N’s discarded factorization. The prover attaches a short proof (random prime ℓ, π = x^⌊2ᵀ/ℓ⌋ mod N); the verifier checks π^ℓ · x^r ≡ y in two exponentiations. Verified in node: the sequential result equals x^(2ᵀ) and the proof verifies over 400 trials. Powers unbiasable randomness beacons (Chia, Ethereum). Step the squaring chain, then verify.

More in Cryptography