Simon-128
The NSA's 2013 lightweight Feistel block cipher family, in 64-bit and 128-bit block forms
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 Simon-128
Simon-128 is one of 2 SIMON variants in the NextSSL registry, a block cipher. It uses a 16–32-byte key and a 16-byte (128-bit) block. Its registry entry cites SIMON128/128, /192 and /256 (NSA, 2013), Crypto++ implementation. 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
SIMON is a family of lightweight Feistel block ciphers published by NSA designers in 2013, with simple AND-rotate-XOR round functions. NextSSL carries a 64-bit block variant and a 128-bit block variant, each with several key sizes, marked unverified.
SIMON was published in 2013 by NSA designers, including Ray Beaulieu and colleagues. It is a family of Feistel ciphers whose round function uses only bitwise AND, rotation and XOR, a design aimed at very small hardware and simple software. The family covers several block and key combinations, and SPECK is its companion family with addition-based rounds.
NextSSL carries simon-64, which covers the SIMON64/96 and SIMON64/128 specifications with a 12 to 16-byte key and an 8-byte block. It also carries simon-128, which covers SIMON128/128, /192 and /256 with a 16 to 32-byte key and a 16-byte block. The Crypto++ implementation is the source, and both entries are unverified.
The design has a large body of published cryptanalysis, mostly on reduced-round versions, and the archive tier is a reflection of NextSSL's review status. The 64-bit block variant has the same birthday-bound limit as other 64-bit ciphers.
History
2013–2013SIMON published
How it works
- The key is loaded into a shift register and expanded into round keys.
- Each Feistel round combines the AND of two rotated words with a third rotated word and a round key.
- Decryption applies the same rounds in reverse using the round keys in reverse order.
Security notes
Unverified in NextSSL. Published attacks cover reduced-round versions, and the 64-bit block variant has a birthday-bound limit. Use AES for general-purpose encryption.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 – 32 | Secret key |
| block | 16 | Block |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
block = root.call("blockcipher_encrypt", "simon-128", None, key, plaintext_block)[0]
nextssl_root_blockcipher_encrypt("simon-128", NULL, key, block, out); /* exactly one block */
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_blockcipher_in(reg::all(), Policy::Any, "simon-128", &Params::new())?;
let out = alg.encrypt_block(&key, &block)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other SIMON variants
1Similar names
Looking for something else?More block ciphers
All 84Frequently asked questions
What is Simon-128?
Simon-128 is a block cipher in the SIMON family. SIMON is a family of lightweight Feistel block ciphers published by NSA designers in 2013, with simple AND-rotate-XOR round functions.
What are the Simon-128 sizes?
In NextSSL, Simon-128 uses: key 16 to 32 bytes, block 16 bytes.
Who designed Simon-128 and when?
Simon-128 belongs to the SIMON family, first published in 2013 by Ray Beaulieu, Douglas Shors, Jason Smith, Stefan Treatman-Clark, Bryan Weeks, Louis Wingers (NSA). Its origin: NSA, 2013.
Which standards define Simon-128?
Simon-128 is referenced by SIMON128/128, /192 and /256 (NSA, 2013), Crypto++ implementation.
Is Simon-128 safe to use?
Simon-128 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 SIMON variants are there?
NextSSL also registers simon-64 in the SIMON family.
Related families
Compact CFB-based AEAD modes for small block ciphers; CAESAR round 3
SIMPLEBlock-cipher-agnostic AEAD instantiated with AES, GIFT, PRESENT and SPECK
AESThe Advanced Encryption Standard: the world's default 128-bit block cipher
CHAMA lightweight ARX block cipher family from ICISC 2017, in 64-bit and 128-bit block forms
SIMECKA lightweight Feistel block cipher combining the SIMON round function with SPECK-style key schedule