Open archive · post-quantum first

Every cryptographic algorithm, reachable by name

1,883 algorithms in one registry, from ML-KEM to AES-GCM. Each one pinned to a trusted upstream, tiered, and callable from any language.

nextssl · 1,883 algorithms
// one registry, every kind — look algorithms up by name
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};

let kem = reg::new_kem_in(reg::all(), Policy::Safe,
                          "ml-kem-768", &Params::new())?;
let (pk, sk) = kem.keygen(&mut *rng)?;
let (ct, ss) = kem.encaps(&pk, &mut *rng)?;
assert_eq!(ss, kem.decaps(&sk, &ct)?);   // constant-time compare

// anything outside safe/standard needs the root API
let digest = nextssl_root::md5::hash(b"abc")?;
One ecosystem

The whole archive, or just the part you need.

NextSSL is the complete archive and the core of the ecosystem. CommonSSL and TinySSL are planned profiles built on the same registry: one curated for everyday applications, one sized for small devices.

registry · 1883 algorithms
ml-kem-768safe
ml-dsa-65safe
slh-dsa-sha2-128ssafe
aes-256-gcmstandard
xchacha20-poly1305safe
argon2idsafe
blake3standard
compose
pbkdf2(hmac(sha256))ok
cbc(aes-256)ok
In development · pre-release

NextSSL — The complete archive. Every algorithm, every tier, reachable by name.

The core of the ecosystem: an open, programmable archive of cryptographic algorithms, post-quantum first. One registry, a Rust safe shell, a C ABI and bindings for every language that can call C.

  • One registryEach algorithm lives in its own folder with an algo.toml that records upstream, pinned...
  • Post-quantum firstML-KEM, ML-DSA, SLH-DSA and the wider field of post-quantum candidates sit next to...
  • Tiers, not opinionsBroken and obsolete algorithms are included on purpose and fenced off by tiers. The safe...
defaults · one per job
encryptxchacha20-poly1305
signed25519 · ml-dsa-65
key exchangex25519 + ml-kem-768
passwordsargon2id
hashsha-256 · blake3
Envelope
nxs1.0oRDoQEDoQVMq3kT8yY…
Planned

CommonSSL — A curated, general-purpose profile with safe defaults and nothing to second-guess.

A general-purpose library built from NextSSL's safe and standard tiers only. Opinionated defaults, a small API surface and TLS-ready primitives for everyday applications and services.

  • Safe tiers onlyOnly algorithms in the safe and standard tiers. No root API, no legacy fallbacks, no way...
  • Defaults that decideOne recommended choice per job: AES-256-GCM or XChaCha20-Poly1305, Argon2id, Ed25519 or...
  • Hybrid key exchangeClassical and post-quantum key agreement combined by default, so a break in one does not...
profile · lightweight
ascon-aead128AEAD
chacha20-poly1305AEAD
ml-kem-768KEM
Planned

TinySSL — Lightweight cryptography for small devices, sized for kilobytes not megabytes.

A compact profile for resource-constrained hardware such as Raspberry Pi and similar boards: lightweight AEADs, small hashes, compact signatures and post-quantum key exchange where it fits.

  • Lightweight firstBuilt around Ascon, the NIST lightweight standard, plus ChaCha20-Poly1305 for boards...
  • Small footprintEach algorithm is a separately compiled unit: link only what you use. Footprint budgets...
  • Post-quantum where it fitsML-KEM-512/768 and ML-DSA-44 for devices with the memory to hold them; classical X25519...

Built for a world after
quantum computers

Browse post-quantum KEMs and signatures
Start here

The algorithms most people need.

Each page explains how the algorithm works, where it is standardised, its sizes and parameters, its tier, and how to call it from Python, C or Rust.

Read this first: NextSSL is in early development.

There has been no external security audit, nothing is FIPS validated, the API may change and no release exists yet. Most entries are in the unverified tier: wired from a trusted upstream, but their correctness is not fully proven. CommonSSL and TinySSL are planned products and have not been built yet.

Questions, answered

What is NextSSL?

An open, programmable archive of cryptographic algorithms. Each algorithm lives in its own folder with a record of its upstream source, pinned version, license, tier, sizes and test vectors. A generator turns those records into a registry you can call by name from Rust, C, or any language with a C FFI.

What is post-quantum cryptography?

Post-quantum cryptography is a set of algorithms designed to stay secure against attacks by large quantum computers, which could break RSA and elliptic-curve cryptography. In August 2024 NIST published the first standards: ML-KEM (FIPS 203) for key establishment, ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) for signatures. NextSSL registers 613 key encapsulation mechanisms and signature schemes.

What is ML-KEM, and is it the same as Kyber?

ML-KEM is the Module-Lattice-Based Key-Encapsulation Mechanism standardised in FIPS 203. It is derived from CRYSTALS-Kyber, with changes, so the two are related but not interchangeable. It comes in three parameter sets: ML-KEM-512, ML-KEM-768 and ML-KEM-1024.

Which encryption, hash and signature algorithms should I use?

Sensible modern defaults are AES-256-GCM or XChaCha20-Poly1305 for authenticated encryption, SHA-256, SHA3-256 or BLAKE3 for hashing, Argon2id for passwords, Ed25519 or ML-DSA-65 for signatures, and X25519 combined with ML-KEM-768 for key exchange. Every NextSSL page shows the tier of an algorithm, and the safe API can only reach the safe and standard tiers.

Is it ready for production?

No. NextSSL is in early development, has not been audited and is not FIPS validated. Use it for research, interoperability testing and evaluation. The tier system and the safe/root API split exist so that this status is visible in your code, not just in the documentation.

Are MD5 and SHA-1 still safe, and why include broken algorithms like MD5 and RC4?

Not for security: practical attacks exist, so these algorithms sit in the broken or legacy tiers, which the safe API cannot reach. They are included for interoperability with old systems, for research and for testing. Calling one requires the root API, which makes the choice explicit.

How do NextSSL, CommonSSL and TinySSL relate?

NextSSL is the full archive and the core of the ecosystem. CommonSSL (planned) is a curated general-purpose profile built only from the safe and standard tiers. TinySSL (planned) is a compact profile for resource-constrained devices such as the Raspberry Pi. All three share algorithm names, parameters and test vectors.

Where does the code come from?

Cryptographic cores are copied verbatim from upstream projects at pinned versions or commits, with their licenses. NextSSL's own code is the Rust safe shell, the glue and the tooling. When the only trustworthy source is in another language, it may be ported line by line, and a port is always tier unverified.

How is this website built?

It is a Flask application backed by SQLite. The database is generated from NextSSL's registry file (1,883 algorithms) plus hand-written explanations, and every algorithm, family and category page is rendered from it. Nothing on the algorithm pages is hard-coded.

Getting started

Find the right algorithm in seconds

Search by name, alias, family or standard. Every result tells you its tier before you write a line of code.