Mcnie4q1281
A McNie4 public-key encryption parameter set with a 347-byte public key and about 100 KB ciphertexts
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 Mcnie4q1281
Mcnie4q1281 is a public-key encryption scheme from the McNie4-q1281 family. It uses a 1–4,096-byte output, a 347-byte public key, a 340-byte secret key and a 100,000–104,096-byte ciphertext. 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
McNie4-q1281 is a McNie4 public-key encryption parameter set with a 347-byte public key, a 340-byte secret key and ciphertexts of about 100 KB. It is the q1281 member of the McNie4 series. NextSSL carries it as an unverified archival entry.
McNie4 is a second series in the McNie family in the archive, distinct from McNie3 by its name. The archive identifies each member by variant name and does not describe the construction.
NextSSL records a 347-byte public key, a 340-byte secret key and ciphertexts between 100000 and 104096 bytes, with an output range of 1 to 4096 bytes. The public key is smaller than the McNie3 member with the same q label, while the secret key is larger.
The archive tier is unverified, so the entry is kept for research and comparison across the two series.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationMcNie4-q1281 published
69 complete round-1 submissions published
NIST Post-Quantum Cryptography standardisation26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationKyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens
NIST Post-Quantum Cryptography standardisationFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisationHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- A key pair is generated from the McNie4 parameter set.
- Encryption expands the message into a ciphertext of about 100 KB.
- Decryption uses the secret key to recover the message.
Security notes
Unverified in NextSSL, and the archive records no security basis or analysis for the McNie family.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 1 – 4,096 | Output |
| pk | 347 | Public key |
| sk | 340 | Secret key |
| ct | 100,000 – 104,096 | Ciphertext |
| ctx | 0 | Context string |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
pk, sk = root.call("pke_keygen", "mcnie4q1281", None, outs=2)
ct = root.call("pke_encrypt", "mcnie4q1281", None, pk, b"secret", b"")[0]
nextssl_root_pke_encrypt("mcnie4q1281", NULL, pk, pt, label, out);
// pke is a root-only kind: use the C ABI (nextssl_root_*)
// or the Pke trait in nextssl-core/src/traits.rs
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 public-key encryption
All 32Frequently asked questions
What is Mcnie4q1281?
Mcnie4q1281 is a PKE in the McNie4-q1281 family. McNie4-q1281 is a McNie4 public-key encryption parameter set with a 347-byte public key, a 340-byte secret key and ciphertexts of about 100 KB.
What are the Mcnie4q1281 sizes?
In NextSSL, Mcnie4q1281 uses: public key 347 bytes, ciphertext 100,000 to 104,096 bytes, output 1 to 4,096 bytes.
Who designed Mcnie4q1281 and when?
Mcnie4q1281 belongs to the McNie4-q1281 family, first published in 2017. Its origin: NIST PQC round 1.
Is Mcnie4q1281 safe to use?
Mcnie4q1281 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
Code-based KEM on binary Goppa codes: very large public keys, tiny ciphertexts
CompactLWE Round 1A round-1 learning-with-errors public-key encryption scheme with compact 2064-byte public keys
Giophantus Round 1Three round-1 public-key encryption parameter sets with public keys from 14 KB to 27 KB
McNie3-q1281A McNie public-key encryption parameter set with a 431-byte public key and about 100 KB ciphertexts
McNie4-q1282A McNie4 public-key encryption parameter set with a 417-byte public key and about 100 KB ciphertexts