Drygascon128k16
DrySponge mode on a GASCON permutation derived from Ascon; NIST LWC round 2
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 Drygascon128k16
Drygascon128k16 is an authenticated encryption (AEAD) scheme from the DryGASCON 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
DryGASCON is a lightweight authenticated cipher and hash built on GASCON, a generalisation of the Ascon permutation, in the DrySponge construction. It was a second-round candidate in the NIST Lightweight Cryptography process.
DrySponge differs from a plain duplex by mixing input into the state through a key-dependent mixing phase rather than direct XOR, with the aim of making side-channel attacks harder. DryGASCON128 uses a 320-bit GASCON permutation and DryGASCON256 a 576-bit version.
NextSSL includes DryGASCON128 with 16, 32 and 56-byte keys, DryGASCON256, and separate builds named by state size and key length (drygascon128k16 and drygascon256k32). Its longer key options (32 and 56 bytes for DryGASCON128) correspond to key formats defined in the specification.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectDryGASCON published by Sébastien Riou
56 round-1 candidates accepted; 32 advance to round 2 in August
NIST Lightweight Cryptography projectTen finalists announced
NIST Lightweight Cryptography projectAscon selected as the lightweight standard
NIST Lightweight Cryptography projectAscon published in NIST SP 800-232
NIST Lightweight Cryptography project
Security notes
Requires unique nonces. Security inherits much from Ascon's permutation analysis, but the DrySponge mode has had less independent review.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 16 | Nonce / IV |
| tag | 16 | Authentication 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", "drygascon128k16", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "drygascon128k16", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("drygascon128k16", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("drygascon128k16", NULL, key, nonce, aad, ct, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_aead_in(reg::all(), Policy::Any, "drygascon128k16", &Params::new())?;
let ct = alg.seal(&key, &nonce, b"header", b"secret")?;
let pt = alg.open(&key, &nonce, b"header", &ct)?;
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 authenticated encryption
All 392Frequently asked questions
What is Drygascon128k16?
Drygascon128k16 is an AEAD in the DryGASCON family. DryGASCON is a lightweight authenticated cipher and hash built on GASCON, a generalisation of the Ascon permutation, in the DrySponge construction.
What are the Drygascon128k16 sizes?
In NextSSL, Drygascon128k16 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.
Who designed Drygascon128k16 and when?
Drygascon128k16 belongs to the DryGASCON family, first published in 2019 by Sébastien Riou. Its origin: NIST LWC round 2.
Is Drygascon128k16 safe to use?
Drygascon128k16 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
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
ISAPLeakage-resilient permutation-based AEAD designed against DPA; NIST LWC finalist
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD