Orangezestv1
PHOTON-256 based authenticated encryption (ORANGE-Zest); 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 Orangezestv1
Orangezestv1 is an authenticated encryption (AEAD) scheme from the ORANGE 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
ORANGE is a lightweight submission whose authenticated-encryption member, ORANGE-Zest, uses the PHOTON-256 permutation in a duplex-like mode with full-state absorption. It was a second-round candidate in the NIST Lightweight Cryptography process.
ORANGE-Zest absorbs associated data across the full state and processes message blocks with a feedback that mixes in the previous state, aiming for a high rate on a small permutation. The submission also defines a hash, ORANGISH.
NextSSL includes a generic ORANGE build and the version 1 ORANGE-Zest implementation. ORANGE shares its permutation with PHOTON-Beetle, which makes the two useful for comparing mode-level design choices on identical hardware. 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 projectORANGE published by Bishwajit Chakraborty, Mridul Nandi
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 has had less analysis than PHOTON-Beetle, which uses the same permutation.
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", "orangezestv1", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "orangezestv1", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("orangezestv1", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("orangezestv1", 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, "orangezestv1", &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 Orangezestv1?
Orangezestv1 is an AEAD in the ORANGE family. ORANGE is a lightweight submission whose authenticated-encryption member, ORANGE-Zest, uses the PHOTON-256 permutation in a duplex-like mode with full-state absorption.
What are the Orangezestv1 sizes?
In NextSSL, Orangezestv1 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.
Who designed Orangezestv1 and when?
Orangezestv1 belongs to the ORANGE family, first published in 2019 by Bishwajit Chakraborty, Mridul Nandi. Its origin: NIST LWC round 2.
Is Orangezestv1 safe to use?
Orangezestv1 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).