Authenticated encryption

Shellaes128v1d4n64

ShellAES-128 v1 with the d4 parameter and an 8-byte nonce, a research AES-based AEAD

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 Shellaes128v1d4n64

Shellaes128v1d4n64 is an authenticated encryption (AEAD) scheme from the ShellAES128 v1 d4 n64 family. It uses a 16-byte (128-bit) key, an 8-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

ShellAES128 v1 d4 n64 is an AES-based authenticated encryption candidate with a 16-byte key, an 8-byte nonce and a 16-byte tag. The d4 and n64 labels record a design parameter and the nonce size. NextSSL carries it as an unverified research variant in the ShellAES family.

ShellAES is a family of AES-based authenticated encryption candidates in the archive, with variants named by version, a d parameter and an n parameter. The n64 label corresponds to the 8-byte nonce, and the d4 label is a design parameter whose meaning is not recorded in the archive.

NextSSL carries shellaes128v1d4n64 with a 16-byte key, an 8-byte nonce and a 16-byte tag. The short nonce means random-nonce use is limited to modest message counts per key, so counter-based nonces are the safer approach if the scheme is ever used.

The archive records no standard, designer or public analysis for this variant. Its unverified tier means it is kept for comparison within the ShellAES family, not for production.

History

2013–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. ShellAES128 v1 d4 n64 published by Lei Wang

  3. 57 first-round candidates published

    CAESAR competition
  4. Second round announced

    CAESAR competition
  5. Third round announced

    CAESAR competition
  6. Finalists announced

    CAESAR competition
  7. Final portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB

    CAESAR competition

How it works

  1. The 16-byte key and 8-byte nonce initialise the AES-based state.
  2. Associated data and plaintext are processed with the d4 parameter setting the round or mixing structure.
  3. A 16-byte tag is verified before decrypted output is released.

Security notes

Unverified: no public analysis is recorded in the archive. The 8-byte nonce limits safe random-nonce use.

Typical uses

Comparing ShellAES parameter setsResearch into AES-based AEAD designs with short noncesBenchmarking AES-based candidates

Sizes

FieldBytesMeaning
key16Secret key
nonce8Nonce / 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(8)
ct = root.call("aead_seal", "shellaes128v1d4n64", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "shellaes128v1d4n64", 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 Shellaes128v1d4n64?

Shellaes128v1d4n64 is an AEAD in the ShellAES128 v1 d4 n64 family. ShellAES128 v1 d4 n64 is an AES-based authenticated encryption candidate with a 16-byte key, an 8-byte nonce and a 16-byte tag.

What are the Shellaes128v1d4n64 sizes?

In NextSSL, Shellaes128v1d4n64 uses: key 16 bytes, nonce 8 bytes, tag 16 bytes.

Who designed Shellaes128v1d4n64 and when?

Shellaes128v1d4n64 belongs to the ShellAES128 v1 d4 n64 family, first published in 2014 by Lei Wang. Its origin: SHELL (CAESAR competition, round 1).

Is Shellaes128v1d4n64 safe to use?

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