Kindi256342
A post-quantum KEM parameter set from the KINDI family, with a 32-byte shared secret
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 Kindi256342
Kindi256342 is a key encapsulation mechanism from the KINDI 256-3-4-2 family. It uses a 1,184-byte public key, a 1,472-byte secret key, a 1,824-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
KINDI 256-3-4-2 is one parameter set of the KINDI key encapsulation family, which NextSSL carries as a family of five variants. Its public key is 1184 bytes and its ciphertext 1824 bytes. It is unverified in the archive.
KINDI is a family of key encapsulation mechanisms submitted to the NIST post-quantum process. The numbers in the variant names encode the parameter choices of each set, and the archive does not describe their meaning, so the security basis is not given here.
The 256-3-4-2 set has a 1184-byte public key, a 1472-byte secret key and a 1824-byte ciphertext, with a 32-byte shared secret. Its public key matches the size of Kyber-768, while its ciphertext is larger, which makes it a useful size comparison point.
The entry is unverified in NextSSL and is kept for research.
History
2017–2017KINDI 256-3-4-2 published by Rachid El Bansarkhani
How it works
- Key generation produces a public key and a secret key from parameters set by the family's naming scheme.
- Encapsulation derives a ciphertext and shared secret from a random input under the public key.
- Decapsulation recovers the input and checks the ciphertext before deriving the shared secret.
Security notes
Unverified in NextSSL, with no public analysis recorded in the archive. Treat it as a research candidate.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 1,184 | Public key |
| sk | 1,472 | Secret key |
| ct | 1,824 | 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", "kindi256342", None, outs=2)
ct, ss = root.call("kem_encaps", "kindi256342", None, pk, outs=2)
assert ss == root.call("kem_decaps", "kindi256342", None, sk, ct)[0]
nextssl_root_kem_keygen("kindi256342", NULL, pk, sk);
nextssl_root_kem_encaps("kindi256342", NULL, pk, ct, ss);
nextssl_root_kem_decaps("kindi256342", 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, "kindi256342", &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 Kindi256342?
Kindi256342 is a KEM in the KINDI 256-3-4-2 family. KINDI 256-3-4-2 is one parameter set of the KINDI key encapsulation family, which NextSSL carries as a family of five variants.
What are the Kindi256342 sizes?
In NextSSL, Kindi256342 uses: public key 1,184 bytes, ciphertext 1,824 bytes, shared secret 32 bytes.
Is Kindi256342 post-quantum?
Yes. Kindi256342 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Kindi256342 and when?
Kindi256342 belongs to the KINDI 256-3-4-2 family, first published in 2017 by Rachid El Bansarkhani.
Is Kindi256342 safe to use?
Kindi256342 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
A KINDI KEM parameter set with a 64-byte shared secret and a 2752-byte ciphertext
KINDI 512-2-2-2A KINDI KEM parameter set with a 48-byte shared secret and a 2544-byte ciphertext
Kyber-768The pre-standard Kyber-768 parameter set, a category 3 Module-LWE KEM before FIPS 203
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
KINDI PKE Round 1The round-1 KINDI public-key encryption family, with four parameter sets in the archive