Wage
Welch-Gong based 259-bit permutation in a duplex mode; NIST LWC round 2
Experimental or unclassified. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Wage
Wage is an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 16-byte nonce and a 16-byte (128-bit) authentication tag. Its registry entry cites WAGE (NIST LWC round 2). NextSSL lists it in the research tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
WAGE is a lightweight authenticated cipher built on a 259-bit permutation that operates on 37 words of 7 bits, using Welch-Gong permutations over GF(2^7) as nonlinear components. It was a second-round candidate in the NIST Lightweight Cryptography process.
The WAGE permutation is a shift-register-like structure updated with Welch-Gong and small S-box components, designed for efficient hardware and to double as a random-bit generator. It is used in a unified sponge duplex mode.
NextSSL implements WAGE-AE-128 with a 128-bit key, nonce and tag. The permutation can also be reused as a random-bit generator, which suits RFID-class devices that need both functions. Second-round candidates were evaluated by NIST on security, hardware and software performance and side-channel properties; ten were chosen as finalists in 2021, and Ascon was selected in 2023.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectWAGE published
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. It did not advance to the final round and has had moderate public analysis.
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 'research' is reachable from the root API only
key, nonce = root.random(16), root.random(16)
ct = root.call("aead_seal", "wage", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "wage", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("wage", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("wage", 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, "wage", &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.
Other WAGE variants
2More authenticated encryption
All 392Frequently asked questions
What is Wage?
Wage is an AEAD in the WAGE family. WAGE is a lightweight authenticated cipher built on a 259-bit permutation that operates on 37 words of 7 bits, using Welch-Gong permutations over GF(2^7) as nonlinear components.
What are the Wage sizes?
In NextSSL, Wage uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.
Who designed Wage and when?
Wage belongs to the WAGE family, first published in 2019 by Mark Aagaard, Riham AlTawy, Guang Gong, Kalikinkar Mandal, Raghvendra Rohit, Nusa Zidaric. Its origin: NIST LWC round 2.
Which standards define Wage?
Wage is referenced by WAGE (NIST LWC round 2).
Is Wage safe to use?
Wage is in the research tier. Experimental or unclassified. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other WAGE variants are there?
NextSSL also registers wageae128v1, wageae128v1-lwc1 in the WAGE family.
Related families
sLiSCP-light-style 320-bit permutation AEAD and hash; NIST LWC round 2
SPIXMonkeyDuplex AEAD on the sLiSCP-light-256 permutation; NIST LWC round 2
SpoCSponge AEAD with masked capacity on sLiSCP-light; NIST LWC round 2
ACE HashACE Hash: an unverified hash in NextSSL's archive, carried for research and comparison