cloudflare

circl: Go Cryptographic Library for Post-Quantum and ECC

Cloudflare CIRCL is a Go library of reusable cryptographic primitives for experimental deployment of post-quantum and elliptic-curve cryptography. It includes standardized algorithms and protocols alongside experimental implementations.

Stars
1.8k
Forks
249
Last commit
19 days ago
Contributors
43
Releases, 12 months
4

Our take

Activeregular commits and releases

Health score

48/100

How it is scored
Activity
51
Community
65
Issues
44
Pull requests
32
  • Slower to merge pull requests than 95% of the projects we track

CIRCL is an actively maintained, broad Go cryptography library with a clear experimental-use framing and package-specific security caveats.

Good fit if

  • You need Go implementations of post-quantum or elliptic-curve primitives for evaluation or integration.
  • You want several cryptographic protocols and building blocks in one library, and can assess packages individually.
  • You value an active project with regular commits and releases and contributions from a broad group rather than dependence on one contributor.

Look elsewhere if

  • You require an unconditional production-readiness or constant-time guarantee across the entire library.
  • Your environment cannot use the Go 1.25.0 runtime specified in the module.
  • You need a narrowly scoped library with no experimental or deprecated cryptographic implementations to review.
All health signals
Last commit2026-11-16 (19 days ago)
Commits, last 90 days14
Releases, last 12 months4 (latest v1.6.5, 2026-08-05)
Contributors43 (top contributor: 52% of commits)
Issues closed, last 90 days3 (typically closed in 12 days)
Pull requests merged, last 90 days13 (typically merged in 12 days)
Project age8 years

Checked on 2026-12-06 with the GitHub API.

Overview

Cloudflare CIRCL (Cloudflare Interoperable, Reusable Cryptographic Library) is a collection of cryptographic primitives built in Go. It is intended as a tool for experimenting with post-quantum and elliptic-curve cryptography, rather than as a blanket guarantee that every package is ready for production.

The library covers algorithms and protocols ranging from ML-KEM, ML-DSA, and SLH-DSA to Ed25519, HPKE, and elliptic-curve groups. Its breadth makes it useful to Go developers evaluating or integrating cryptographic building blocks, while its security and constant-time caveats call for package-level review.

Key Features

  • Implements post-quantum key encapsulation, including ML-KEM and Kyber, and post-quantum signatures including ML-DSA and SLH-DSA.
  • Provides elliptic-curve tools and protocols including X25519, X448, Ed25519, Ed448, and BLS.
  • Includes higher-level protocols such as HPKE, VOPRF, RSA blind signatures, and Prio3.
  • Offers zero-knowledge proof packages for Schnorr and discrete-log equality proofs.
  • Includes symmetric primitives such as SHAKE, BLAKE2X, KangarooTwelve, and Ascon v1.2.
  • Documents packages with known timing leaks, and marks the SIDH/SIKE implementation insecure and deprecated.
  • Provides Make targets for testing, benchmarking, coverage, and linting.

Use Cases

  • Go teams evaluating post-quantum algorithms can prototype integrations with ML-KEM, ML-DSA, or SLH-DSA.
  • Developers implementing encrypted communication can explore the library's HPKE and elliptic-curve building blocks.
  • Cryptography researchers can experiment with a broad set of primitives and protocols in one Go library.
  • Teams needing blind signatures, oblivious functions, or distributed aggregation can assess the corresponding protocol packages.

What you need

Detected in the repository

  • Go 1.25.0 or newer (from go.mod)
  • Automated checks on GitHub Actions

Getting Started

Install the module with:

go get -u github.com/cloudflare/circl

See the README for package documentation and testing instructions.

License in Plain Words

No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.

Considerations

CIRCL describes itself as offered as-is and warns that its code and API may change. Not every package is constant time; the README identifies packages with known timing leaks, so review those notices and the specific implementation before adoption. SIDH/SIKE is explicitly insecure and deprecated. The project is active, with recent commits and releases, and its issue handling has a measured median close time of about twelve days, though only a few issues were closed in the measured recent period. The README identifies the license as BSD-3-Clause; review its terms for your distribution and use.

Found this useful?

Share it with someone who would like circl.