Hash functions

Drygascon256

A NIST LWC second-round candidate using an Ascon-derived permutation in a 'DrySponge' mode

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 Drygascon256

Drygascon256 is one of 4 DryGASCON variants in the NextSSL registry, a cryptographic hash function. It produces a 64-byte (512-bit) output. 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 an authenticated-encryption and hashing family by Sébastien Riou, submitted to the NIST Lightweight Cryptography process, where it reached the second round. It adapts the Ascon permutation into a construction designed to resist side-channel leakage.

DryGASCON's permutation, GASCON, generalises the Ascon round to wider states. The DrySponge mode does not XOR input directly into the state as an ordinary sponge does; instead a mixing phase feeds small chunks of input into the state through selections from an additional register, with the aim of limiting what an attacker with side-channel access learns per call.

NextSSL includes DryGASCON-128 and DryGASCON-256 hash entries and a separate drygascon128 entry, all wired from source and not yet verified against the submission's test vectors. The design is also notable for allowing different security levels from the same permutation family. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.

History

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

    NIST Lightweight Cryptography project
  2. DryGASCON published by Sébastien Riou

  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

DryGASCON did not advance to the NIST finalists and has received limited cryptanalysis. These entries are unverified and intended for research only.

Typical uses

Lightweight cryptography researchSide-channel-resistant construction studies

Sizes

FieldBytesMeaning
out64Output

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
digest = root.call("hash_with", "drygascon256", None, b"abc")[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently asked questions

What is Drygascon256?

Drygascon256 is a hash in the DryGASCON family. DryGASCON is an authenticated-encryption and hashing family by Sébastien Riou, submitted to the NIST Lightweight Cryptography process, where it reached the second round.

What are the Drygascon256 sizes?

In NextSSL, Drygascon256 uses: output 64 bytes.

Who designed Drygascon256 and when?

Drygascon256 belongs to the DryGASCON family, first published in 2019 by Sébastien Riou. Its origin: NIST Lightweight Cryptography process (round 2).

Is Drygascon256 safe to use?

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

What other DryGASCON variants are there?

NextSSL also registers drygascon-128-hash, drygascon-256-hash, drygascon256-lwc1 in the DryGASCON family.