Key encapsulation

Hila5-R1

A round-1 ring-LWE KEM that uses error-correcting reconciliation to agree on a shared secret

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 Hila5-R1

Hila5-R1 is a key encapsulation mechanism from the HILA5 Round 1 family. It uses a 1,824-byte public key, a 1,824-byte secret key, a 2,012-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

HILA5 Round 1 is a ring Learning With Errors key encapsulation mechanism submitted to the NIST post-quantum process in its first round. It uses error-correcting reconciliation to recover shared secrets, and its public key and secret key are both 1824 bytes. NextSSL carries it as an unverified archival entry.

HILA5 is a ring Learning With Errors key encapsulation mechanism, submitted to the first round of the NIST post-quantum process. Its design uses an error-correcting code during reconciliation, so both parties recover the same shared secret even though their values differ slightly.

NextSSL carries one variant, hila5-r1, with a 1824-byte public key, an 1824-byte secret key and a 2012-byte ciphertext, plus a 32-byte shared secret. The public key and secret key sizes are equal, which is a property of the parameter choice and not an error in the archive.

The entry is unverified and is kept as a historical round-1 candidate for research and comparison with other ring-LWE schemes such as NewHope.

History

2016–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. HILA5 Round 1 published by Markku-Juhani O. Saarinen

  3. 69 complete round-1 submissions published

    NIST Post-Quantum Cryptography standardisation
  4. 26 candidates advance to round 2

    NIST Post-Quantum Cryptography standardisation
  5. Round 3 finalists and alternates announced

    NIST Post-Quantum Cryptography standardisation
  6. Kyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens

    NIST Post-Quantum Cryptography standardisation
  7. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published

    NIST Post-Quantum Cryptography standardisation
  8. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. A ring element is derived from a seed and combined with a small secret to form the public key.
  2. Encapsulation adds noise and an encoded message to the ciphertext, and the encoding allows error correction.
  3. Decapsulation removes the noise, applies the error-correcting decoder, and derives the shared secret.

Security notes

Unverified in NextSSL and a round-1 candidate, so it is not a standard. Implementations must be constant time, as with other ring-LWE schemes.

Typical uses

Historical comparison of round-1 lattice KEMsResearch into error-correcting reconciliationComparison with NewHope and ring-LWE designs

Sizes

FieldBytesMeaning
pk1,824Public key
sk1,824Secret key
ct2,012Ciphertext
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", "hila5-r1", None, outs=2)
ct, ss = root.call("kem_encaps", "hila5-r1", None, pk, outs=2)
assert ss == root.call("kem_decaps", "hila5-r1", 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 Hila5-R1?

Hila5-R1 is a KEM in the HILA5 Round 1 family. HILA5 Round 1 is a ring Learning With Errors key encapsulation mechanism submitted to the NIST post-quantum process in its first round.

What are the Hila5-R1 sizes?

In NextSSL, Hila5-R1 uses: public key 1,824 bytes, ciphertext 2,012 bytes, shared secret 32 bytes.

Is Hila5-R1 post-quantum?

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

Who designed Hila5-R1 and when?

Hila5-R1 belongs to the HILA5 Round 1 family, first published in 2017 by Markku-Juhani O. Saarinen.

Is Hila5-R1 safe to use?

Hila5-R1 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).