Morus1280128
Fast AND-rotate-XOR authenticated stream cipher; CAESAR round 3 finalist
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 Morus1280128
Morus1280128 is one of 3 MORUS variants in the NextSSL registry, 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. 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
MORUS is a family of authenticated ciphers with a large state updated using only AND, rotation and XOR, designed for high speed in software and hardware. It was a CAESAR finalist but was not selected for the final portfolio.
The MORUS state consists of five registers of 128 or 256 bits, updated through five rounds per message block with simple bitwise operations. Message blocks are injected into the state, and the keystream is drawn as a nonlinear combination of registers, in a structure that resembles AEGIS but without AES rounds.
MORUS-640 uses a 640-bit state with a 128-bit key, and MORUS-1280 uses 1280 bits with a 128-bit or 256-bit key. NextSSL includes MORUS-640-128 (version 2) and MORUS-1280 with 128-bit and 256-bit keys.
History
2013–2019CAESAR competition for authenticated encryption announced
CAESAR competitionMORUS published by Hongjun Wu, Tao Huang
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
Ashur et al. (2018) found linear correlations in the MORUS-1280 keystream that yield a distinguisher and plaintext-recovery attack with very large data, contrary to its security claims. Nonce reuse leads to state recovery. Not recommended for new deployments.
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", "morus1280128", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "morus1280128", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("morus1280128", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("morus1280128", 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, "morus1280128", &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 MORUS variants
2Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Morus1280128?
Morus1280128 is an AEAD in the MORUS family. MORUS is a family of authenticated ciphers with a large state updated using only AND, rotation and XOR, designed for high speed in software and hardware.
What are the Morus1280128 sizes?
In NextSSL, Morus1280128 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.
Who designed Morus1280128 and when?
Morus1280128 belongs to the MORUS family, first published in 2014 by Hongjun Wu, Tao Huang. Its origin: CAESAR round 3 finalist.
Is Morus1280128 safe to use?
Morus1280128 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 MORUS variants are there?
NextSSL also registers morus, morus1280256 in the MORUS family.