LEA-256
Korea's lightweight 128-bit ARX block cipher, standardised in ISO/IEC 29192-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 LEA-256
LEA-256 is one of 3 LEA variants in the NextSSL registry, a block cipher. It uses a 32-byte (256-bit) key and a 16-byte (128-bit) block. Its registry entry cites KS X 3246 (LEA) and ISO/IEC 29192-2:2019 (LEA). 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
LEA is a 128-bit block cipher developed in South Korea in 2013 for fast software encryption on a wide range of platforms. It is standardised as KS X 3246 and in ISO/IEC 29192-2:2019 as a lightweight block cipher.
LEA uses only 32-bit additions, rotations and XORs, with no S-boxes, which makes it fast and constant-time in software. Each round updates the four 32-bit words of the state by XORing round-key words, adding neighbouring words and rotating. It uses 24, 28 or 32 rounds for 128-, 192- and 256-bit keys.
NextSSL includes LEA-128, LEA-192 and LEA-256 entries wired from source and not yet verified. LEA was designed by the National Security Research Institute of Korea, and its simple ARX operations make it fast on 32-bit and 64-bit processors with SIMD. It is approved for Korean government use alongside ARIA. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
2013–2019LEA published
Specified in ISO/IEC 29192-2:2019
Security notes
No practical attacks on full LEA are known; published cryptanalysis reaches reduced rounds. NextSSL's implementation is unverified.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 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", "lea-256", None, key, plaintext_block)[0]
nextssl_root_blockcipher_encrypt("lea-256", 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, "lea-256", &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 LEA variants
2Similar names
Looking for something else?More block ciphers
All 84Frequently asked questions
What is LEA-256?
LEA-256 is a block cipher in the LEA family. LEA is a 128-bit block cipher developed in South Korea in 2013 for fast software encryption on a wide range of platforms.
What are the LEA-256 sizes?
In NextSSL, LEA-256 uses: key 32 bytes, block 16 bytes.
Who designed LEA-256 and when?
LEA-256 belongs to the LEA family, first published in 2013. Its origin: KS X 3246; ISO/IEC 29192-2:2019.
Which standards define LEA-256?
LEA-256 is referenced by KS X 3246 (LEA), ISO/IEC 29192-2:2019 (LEA).
Is LEA-256 safe to use?
LEA-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 LEA variants are there?
NextSSL also registers lea-128, lea-192 in the LEA family.
Related families
The Advanced Encryption Standard: the world's default 128-bit block cipher
ARIAKorea's national 128-bit block cipher, an AES-like involutional SPN
SEEDKorea's 1998 128-bit Feistel cipher, widely deployed in Korean banking and e-commerce
LSHKorea's ARX-based hash family, standardised as KS X 3262 for fast software hashing