Timerv5
A KEM whose archived sizes match the SMAUG-T entries, carried as an unverified v5 submission
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 Timerv5
Timerv5 is a key encapsulation mechanism from the TiMER family. It uses a 672-byte public key, a 1,504-byte secret key, a 672-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
TiMER is a key encapsulation mechanism carried in the archive as timerv5. Its recorded sizes match the SMAUG-T entries, with a 672-byte public key, a 1504-byte secret key and a 672-byte ciphertext. NextSSL carries it as an unverified archival entry.
TiMER is a key encapsulation mechanism that appears in the archive as the version 5 submission, timerv5. The archive does not record its designers, its security basis or its structure, so this entry is limited to the sizes and tier.
NextSSL records a 672-byte public key, a 1504-byte secret key, a 672-byte ciphertext and a 32-byte shared secret. These are identical to the SMAUG-T entries, which may indicate a shared parameter set or a data-entry issue, so the figures should be checked against the submission.
The archive tier is unverified, so the entry is kept for research and comparison only.
How it works
- Key generation produces a public key and a secret key from the scheme's parameters.
- Encapsulation derives a ciphertext and a 32-byte shared secret from a random input.
- Decapsulation recovers the input, checks the ciphertext and derives the shared secret.
Security notes
Unverified in NextSSL, and the archive does not record a security basis. Check the submission before drawing any conclusion about its strength.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 672 | Public key |
| sk | 1,504 | Secret key |
| ct | 672 | Ciphertext |
| ss | 32 | Shared secret |
| seed | 0 | Seed |
| coins | 0 | Encapsulation 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", "timerv5", None, outs=2)
ct, ss = root.call("kem_encaps", "timerv5", None, pk, outs=2)
assert ss == root.call("kem_decaps", "timerv5", None, sk, ct)[0]
nextssl_root_kem_keygen("timerv5", NULL, pk, sk);
nextssl_root_kem_encaps("timerv5", NULL, pk, ct, ss);
nextssl_root_kem_decaps("timerv5", NULL, sk, ct, ss);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_kem_in(reg::all(), Policy::Any, "timerv5", &Params::new())?;
let (pk, sk) = alg.keygen(&mut *rng)?;
let (ct, ss) = alg.encaps(&pk, &mut *rng)?;
assert_eq!(ss, alg.decaps(&sk, &ct)?);
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More key encapsulation
All 110Frequently asked questions
What is Timerv5?
Timerv5 is a KEM in the TiMER family. TiMER is a key encapsulation mechanism carried in the archive as timerv5.
What are the Timerv5 sizes?
In NextSSL, Timerv5 uses: public key 672 bytes, ciphertext 672 bytes, shared secret 32 bytes.
Is Timerv5 post-quantum?
Yes. Timerv5 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Is Timerv5 safe to use?
Timerv5 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).
Related families
The pre-standard Kyber-512 parameter set, a category 1 Module-LWE KEM before FIPS 203
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
SMAUG-T 1The level 1 SMAUG-T lattice KEM from the Korean KpqC competition, with a 672-byte public key
SMAUG-T 3The level 3 SMAUG-T lattice KEM from the Korean KpqC competition, listed with level 1 sizes
SMAUG-T 5The level 5 SMAUG-T lattice KEM from the Korean KpqC competition, listed with level 1 sizes