Forkae-Paef-128-256
Forkcipher-based AEAD optimised for short messages; 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 Forkae-Paef-128-256
Forkae-Paef-128-256 is one of 12 ForkAE variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 14-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
ForkAE is a family of authenticated ciphers built on a forkcipher, a primitive that produces two output blocks from one input, so encryption and tag generation share most of the computation. It was a second-round candidate in the NIST Lightweight Cryptography process.
ForkSkinny, the forkcipher used by ForkAE, runs SKINNY rounds on the input and then forks into two independent branches, each producing an output block. PAEF (Parallel AEAD from a Forkcipher) is a parallelisable nonce-based mode, and SAEF (Sequential AEAD from a Forkcipher) is a sequential mode with online processing.
NextSSL includes PAEF instances with ForkSkinny-64-192, -128-192, -128-256 and -128-288, and SAEF instances with ForkSkinny-128-192 and -128-256. The numbers give block size and tweakey size; nonce length varies accordingly.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectForkAE 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. Instances with 64-bit blocks or short nonces have smaller data limits; analysis has studied reduced-round ForkSkinny without breaking the full cipher.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 14 | 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(14)
ct = root.call("aead_seal", "forkae-paef-128-256", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "forkae-paef-128-256", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("forkae-paef-128-256", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("forkae-paef-128-256", 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, "forkae-paef-128-256", &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 ForkAE variants
11Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Forkae-Paef-128-256?
Forkae-Paef-128-256 is an AEAD in the ForkAE family. ForkAE is a family of authenticated ciphers built on a forkcipher, a primitive that produces two output blocks from one input, so encryption and tag generation share most of the computation.
What are the Forkae-Paef-128-256 sizes?
In NextSSL, Forkae-Paef-128-256 uses: key 16 bytes, nonce 14 bytes, tag 16 bytes.
Who designed Forkae-Paef-128-256 and when?
Forkae-Paef-128-256 belongs to the ForkAE family, first published in 2019 by Elena Andreeva, Virginie Lallemand, Antoon Purnal, Reza Reyhanitabar, Arnab Roy, Damian Vizár. Its origin: NIST LWC round 2.
Is Forkae-Paef-128-256 safe to use?
Forkae-Paef-128-256 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).
What other ForkAE variants are there?
NextSSL also registers forkae-paef-128-192, forkae-paef-128-288, forkae-paef-64-192, forkae-saef-128-192, forkae-saef-128-256, paefforkskinnyb128t192n48v1 and more in the ForkAE family.
Related families
SKINNY-based tweakable block cipher AEAD family; NIST LWC finalist
SKINNY-AEADTheta-CB3 (OCB-style) mode on the SKINNY tweakable block cipher; NIST LWC round 2
RomulusA NIST LWC finalist family built on the SKINNY tweakable block cipher
SKINNY-HashThe hash functions of the SKINNY-AEAD submission, built from the SKINNY block cipher