Cryptographic Background
Last updated Apr 24, 2026
drand is an efficient randomness beacon daemon that utilizes pairing-based cryptography, 𝑡-of-𝑛 distributed key generation, and threshold BLS signatures to generate publicly-verifiable, unbiasable, unpredictable, distributed randomness.
This is an overview of the cryptographic building blocks drand uses to generate publicly-verifiable, unbiasable, and unpredictable randomness in a distributed manner.
The drand beacon has two phases: a setup phase and a beacon phase. Generally, we assume that there are n participants, out of which at most f\<n are malicious. drand relies heavily on threshold cryptography primitives, where (at minimum) a threshold of t-f+1 nodes work together to successfully execute cryptographic operations.
Threshold cryptography has many applications as it avoids single points of failure. One application is cryptocurrency multi-sig wallets, where t-of-n participants are required to sign a transaction using a threshold signature scheme.
Note
This document is intended for a general audience. No cryptographic background knowledge is required to understand these concepts.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/randomness-beacon/cryptographic-background/#page","headline":"Cryptographic Background","description":"Understand the cryptography behind drand.","url":"https://developers.cloudflare.com/randomness-beacon/cryptographic-background/","inLanguage":"en","image":"https://developers.cloudflare.com/randomness-beacon/cryptographic-background/og.png?v=378b0a9ba8740510","dateModified":"2026-04-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Understand how randomness is generated with BLS signatures. title: Randomness Generation image: https://developers.cloudflare.com/randomness-beacon/cryptographic-background/randomness-generation/og.png?v=0801140b88034733
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/randomness-beacon/llms.txt
Use this file to discover all available pages before exploring further.
Docs