Sablier
Hardware-oriented authenticated stream cipher submitted to CAESAR
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 Sablier
Sablier is an authenticated encryption (AEAD) scheme. It uses a 10-byte (80-bit) key, a 10-byte nonce and a 4-byte (32-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
Sablier is a lightweight authenticated stream cipher designed for hardware, submitted to the first round of CAESAR. It did not advance beyond that round.
Sablier generates keystream from a compact internal state and integrates authentication into the same state, targeting very low hardware area and power. The NextSSL build uses an 80-bit key and a short tag, as in the submission.
Sablier was not selected for round 2, and its 80-bit key is below current recommendations. NextSSL keeps the implementation as an archival reference. CAESAR, the Competition for Authenticated Encryption: Security, Applicability, and Robustness, received 57 first-round submissions in 2014 and announced its final portfolio in 2019.
History
2013–2019CAESAR competition for authenticated encryption announced
CAESAR competitionSablier published
57 first-round candidates published
CAESAR competitionSecond round announced
CAESAR competitionThird round announced
CAESAR competitionFinalists announced
CAESAR competitionFinal portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB
CAESAR competition
Security notes
The 80-bit key and short tag give limited security margins, and the design has had little public analysis; use it for research only.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 10 | Secret key |
| nonce | 10 | Nonce / IV |
| tag | 4 | 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(10), root.random(10)
ct = root.call("aead_seal", "sablier", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "sablier", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("sablier", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("sablier", 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, "sablier", &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 Sablier?
Sablier is an AEAD in the Sablier family. Sablier is a lightweight authenticated stream cipher designed for hardware, submitted to the first round of CAESAR.
What are the Sablier sizes?
In NextSSL, Sablier uses: key 10 bytes, nonce 10 bytes, tag 4 bytes.
Who designed Sablier and when?
Sablier belongs to the Sablier family, first published in 2014. Its origin: CAESAR competition, round 1.
Is Sablier safe to use?
Sablier 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).