Key encapsulation

Saber2

The round-2 Saber KEM at the category 3 level, a Module-LWR scheme with a 992-byte public key

unverified Root API only Post-quantum
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Saber2

Saber2 is a key encapsulation mechanism from the Saber Round 2 family. It uses a 992-byte public key, a 2,304-byte secret key, a 1,088-byte ciphertext and a 32-byte shared secret. It is designed to resist attacks by large quantum computers. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

Saber Round 2 is the round-2 Saber key encapsulation mechanism at the category 3 parameter level. It is a Module Learning With Rounding scheme with a 992-byte public key and a 1088-byte ciphertext. NextSSL carries it as an unverified entry.

Saber is a key encapsulation mechanism designed by Jan-Pieter D'Anvers, Angshuman Karmakar, Sujoy Sinha Roy and Frederik Vercauteren. Its round-2 version targets the category 3 security level, and its security rests on Module Learning With Rounding.

NextSSL records a 992-byte public key, a 2304-byte secret key and a 1088-byte ciphertext, with a 32-byte shared secret. The sizes match the category 3 round-1 Saber entry, so the round-2 changes are in the specification rather than the wire format.

The archive tier is unverified. Saber was not selected for standardisation, and ML-KEM-768 is the comparable standard choice.

How it works

  1. A matrix is generated from a seed, and the public key is a rounded product with a secret vector.
  2. Encapsulation encrypts a random message using rounded values.
  3. Decapsulation recovers the message, re-encrypts and compares before deriving the shared secret.

Security notes

Unverified in NextSSL. Saber was not selected for standardisation. Constant-time implementation is required.

Typical uses

Category 3 post-quantum KEM comparisonsResearch into Module-LWR key encapsulationComparisons with Kyber-768 and ML-KEM-768

Sizes

FieldBytesMeaning
pk992Public key
sk2,304Secret key
ct1,088Ciphertext
ss32Shared secret
seed0Seed
coins0Encapsulation randomness

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
pk, sk = root.call("kem_keygen", "saber2", None, outs=2)
ct, ss = root.call("kem_encaps", "saber2", None, pk, outs=2)
assert ss == root.call("kem_decaps", "saber2", None, sk, ct)[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently asked questions

What is Saber2?

Saber2 is a KEM in the Saber Round 2 family. Saber Round 2 is the round-2 Saber key encapsulation mechanism at the category 3 parameter level.

What are the Saber2 sizes?

In NextSSL, Saber2 uses: public key 992 bytes, ciphertext 1,088 bytes, shared secret 32 bytes.

Is Saber2 post-quantum?

Yes. Saber2 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.

Who designed Saber2 and when?

Saber2 belongs to the Saber Round 2 family, first published by Jan-Pieter D'Anvers, Angshuman Karmakar, Sujoy Sinha Roy, Frederik Vercauteren.

Is Saber2 safe to use?

Saber2 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).