Bleep64
A lightweight AEAD candidate with a 16-byte key and an unusually short 8-byte tag
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 Bleep64
Bleep64 is an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 12-byte nonce and an 8-byte (64-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
BLEEP64 is a lightweight authenticated encryption candidate with a 16-byte key, a 12-byte nonce and an 8-byte tag. The short tag is its most notable property, because it limits forgery resistance well below that of 128-bit tag AEADs. NextSSL carries it as an unverified research design.
BLEEP64 is distributed in the SUPERCOP benchmark collection as a reference implementation with an api.h header and an encrypt.c source file. Its name points to a 64-bit block design, but the archive does not document the internal structure, so no construction details are given here.
An 8-byte tag gives roughly 64-bit forgery resistance, meaning a random forgery succeeds with probability about 2 to the power of minus 64 per attempt. Most standard AEADs use 128-bit tags, so this variant trades margin for compactness. NextSSL records only the sizes and an unverified tier.
The entry is kept for benchmarking short-tag designs and for comparing lightweight candidates in the archive.
How it works
- A 16-byte key and a 12-byte nonce initialise the internal state.
- Associated data and plaintext are processed block by block to update that state.
- An 8-byte tag is produced and checked before any decrypted output is released.
Security notes
Unverified. The 8-byte tag limits forgery resistance to roughly 64 bits, which is short for modern use. Do not use it where a 128-bit tag AEAD is available.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 12 | Nonce / IV |
| tag | 8 | 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(12)
ct = root.call("aead_seal", "bleep64", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "bleep64", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("bleep64", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("bleep64", 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, "bleep64", &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 Bleep64?
Bleep64 is an AEAD in the BLEEP64 family. BLEEP64 is a lightweight authenticated encryption candidate with a 16-byte key, a 12-byte nonce and an 8-byte tag.
What are the Bleep64 sizes?
In NextSSL, Bleep64 uses: key 16 bytes, nonce 12 bytes, tag 8 bytes.
Is Bleep64 safe to use?
Bleep64 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
CBC-MAC then counter-mode encryption with AES (NIST SP 800-38C, RFC 3610)
AES-GCMCounter-mode AES with a GHASH polynomial MAC; the default AEAD of TLS and IPsec
AsconLightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
ChaCha20-Poly1305ARX stream cipher with a one-time Poly1305 MAC; fast and constant-time in software
KNOT-128A 128-bit permutation-based AEAD from the KNOT family, submitted to NIST lightweight cryptography
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD