Gage1h256c256r128
A parameterised sponge hash from the first round of the NIST lightweight process
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 Gage1h256c256r128
Gage1h256c256r128 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–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectGAGE published by Danilo Gligoroski, Hristina Mihajloska, Daniel Otte
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
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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 32 | Output |
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", "gage1h256c256r128", None, b"abc")[0]
nextssl_root_hash_with("gage1h256c256r128", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "gage1h256c256r128", &Params::new(), b"abc")?;
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 hash functions
All 424Frequently asked questions
What is Gage1h256c256r128?
Gage1h256c256r128 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 Gage1h256c256r128 sizes?
In NextSSL, Gage1h256c256r128 uses: output 32 bytes.
Who designed Gage1h256c256r128 and when?
Gage1h256c256r128 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 Gage1h256c256r128 safe to use?
Gage1h256c256r128 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)
PHOTON-BeetleBeetle sponge mode on the PHOTON-256 permutation; NIST LWC finalist
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
PHOTON-BeetleA NIST LWC finalist hash and AEAD built on the PHOTON-256 permutation
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD