Authenticated encryption

Enchilada128v1

A 32-byte key AEAD with an 8-byte nonce and 32-byte tag, from the Enchilada family

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 Enchilada128v1

Enchilada128v1 is an authenticated encryption (AEAD) scheme from the Enchilada-128 family. It uses a 32-byte (256-bit) key, an 8-byte nonce and a 32-byte (256-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

Enchilada-128 is an authenticated encryption candidate with a 32-byte key, an 8-byte nonce and a 32-byte tag. The 128 in its name refers to a security target that the archive does not confirm. NextSSL carries it as an unverified research design alongside its Enchilada-256 sibling.

Enchilada-128 is one of two Enchilada parameter sets in the archive. Both use a 32-byte key and an 8-byte nonce. They differ in tag length: this variant uses a 32-byte tag, while Enchilada-256 uses a 16-byte tag. The archive records no designer, standard or published analysis for the family.

The 8-byte nonce is short for a scheme that relies on random nonces. With random nonces, collisions become likely after roughly 2 to the power of 32 messages under one key, so deployments would need counter-based or otherwise managed nonces. The 32-byte tag gives a larger forgery margin than the sibling's 16-byte tag.

NextSSL treats the variant as unverified, which reflects the lack of review in the archive rather than a finding about the design.

History

2013–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. Enchilada-128 published by Sandy Harris

  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 32-byte key and 8-byte nonce are combined to initialise the internal state.
  2. Associated data is absorbed, then the plaintext is processed to produce the ciphertext.
  3. A 32-byte tag is computed and checked in constant time before any plaintext is returned.

Security notes

Unverified: the archive records no published analysis. The 8-byte nonce requires careful nonce management in any use.

Typical uses

Comparing nonce and tag length trade-offs in AEAD designResearch into large-key authenticated encryptionTest vectors for independent AEAD implementations

Sizes

FieldBytesMeaning
key32Secret key
nonce8Nonce / IV
tag32Authentication 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(32), root.random(8)
ct = root.call("aead_seal", "enchilada128v1", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "enchilada128v1", 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.

Similar names

Looking for something else?

Frequently asked questions

What is Enchilada128v1?

Enchilada128v1 is an AEAD in the Enchilada-128 family. Enchilada-128 is an authenticated encryption candidate with a 32-byte key, an 8-byte nonce and a 32-byte tag.

What are the Enchilada128v1 sizes?

In NextSSL, Enchilada128v1 uses: key 32 bytes, nonce 8 bytes, tag 32 bytes.

Who designed Enchilada128v1 and when?

Enchilada128v1 belongs to the Enchilada-128 family, first published in 2014 by Sandy Harris. Its origin: CAESAR competition, round 1.

Is Enchilada128v1 safe to use?

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