Hash functions

Gage1h256c512r032

A parameterised sponge hash from the first round of the NIST lightweight process

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 Gage1h256c512r032

Gage1h256c512r032 is a cryptographic hash function from the GAGE family. It produces a 32-byte (256-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

GAGE is a sponge-based hash family submitted alongside the InGAGE authenticated cipher to the first round of the NIST Lightweight Cryptography process. It is parameterised so that hardware designers can trade area for throughput and security.

GAGE uses a permutation built from small nibble-oriented operations and a sponge mode whose capacity c and rate r are explicit parameters. The variant identifiers encode them: for example gage1h256c224r008 is GAGE version 1 with a 256-bit hash output, 224-bit capacity and 8-bit rate. A smaller rate means less data absorbed per permutation call and a smaller, slower circuit.

NextSSL includes ten GAGE parameter sets with 256-bit output, capacities of 224, 256 and 512 bits, and rates from 8 to 128 bits, all wired from benchmarking sources. The parameter sets illustrate how sponge design trades rate against capacity for hardware cost. 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. GAGE published by Danilo Gligoroski, Hristina Mihajloska, Daniel Otte

  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

GAGE did not advance beyond the first round of the NIST process and has had little independent cryptanalysis. These entries are unverified and intended for research only.

Typical uses

Lightweight cryptography researchExploring sponge rate/capacity trade-offs

Sizes

FieldBytesMeaning
out32Output

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", "gage1h256c512r032", 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 Gage1h256c512r032?

Gage1h256c512r032 is a hash in the GAGE family. GAGE is a sponge-based hash family submitted alongside the InGAGE authenticated cipher to the first round of the NIST Lightweight Cryptography process.

What are the Gage1h256c512r032 sizes?

In NextSSL, Gage1h256c512r032 uses: output 32 bytes.

Who designed Gage1h256c512r032 and when?

Gage1h256c512r032 belongs to the GAGE family, first published in 2019 by Danilo Gligoroski, Hristina Mihajloska, Daniel Otte. Its origin: NIST Lightweight Cryptography process (round 1).

Is Gage1h256c512r032 safe to use?

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