Authenticated encryption

Hern128v1

Authenticated cipher from the HERN and HERON submission; NIST LWC round 1

unverified Root API only
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 Hern128v1

Hern128v1 is an authenticated encryption (AEAD) scheme from the HERN family. It uses a 16-byte (128-bit) key, a 16-byte nonce and a 16-byte (128-bit) authentication tag. 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

HERN is the authenticated-encryption member of the HERN and HERON submission to the first round of the NIST Lightweight Cryptography process. NextSSL includes the version 1 HERN-128 build.

The NextSSL build uses a 128-bit key, nonce and tag. The companion HERON is a hash function from the same submission. As with other first-round entries, the specification is available from the NIST submission archive.

HERN did not advance beyond the first round, and public analysis is limited. The first round of the NIST process opened in 2019 with 56 candidates, and 32 were selected for the second round later that year.

History

2018–2025
  1. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  2. HERN published

  3. 56 round-1 candidates accepted; 32 advance to round 2 in August

    NIST Lightweight Cryptography project
  4. Ten finalists announced

    NIST Lightweight Cryptography project
  5. Ascon selected as the lightweight standard

    NIST Lightweight Cryptography project
  6. Ascon published in NIST SP 800-232

    NIST Lightweight Cryptography project

Security notes

Requires unique nonces. It was not selected for the second round, and independent analysis is limited; treat it as research-only.

Typical uses

Archival referenceBenchmarking

Sizes

FieldBytesMeaning
key16Secret key
nonce16Nonce / IV
tag16Authentication tag

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
key, nonce = root.random(16), root.random(16)
ct = root.call("aead_seal", "hern128v1", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "hern128v1", None, key, nonce, b"header", 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 Hern128v1?

Hern128v1 is an AEAD in the HERN family. HERN is the authenticated-encryption member of the HERN and HERON submission to the first round of the NIST Lightweight Cryptography process.

What are the Hern128v1 sizes?

In NextSSL, Hern128v1 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.

Who designed Hern128v1 and when?

Hern128v1 belongs to the HERN family, first published in 2019. Its origin: NIST Lightweight Cryptography, round 1.

Is Hern128v1 safe to use?

Hern128v1 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).