K016 / Symmetric ciphers (block and stream)
LEA
LEA is a lightweight cipher developed by NSRI in 2013 for big-data, cloud and mobile environments.
CRYPTOGRAPHY LAB / K016
Cryptography Lab · LEA
Run real computations and inspect intermediate states step by step.
Educational only. Never enter real passwords or secret keys. Computation stays in your browser; input and trace values are not sent to a server. Do not use this implementation in production.
LEA-128 (24 rounds)
See the scope above for fixed examples, reduced parameters and supported variants. Standard operation names and formulas are retained.Output
Previous state
- Definition and overview
- LEA is a lightweight cipher developed by NSRI in 2013 for big-data, cloud and mobile environments. Source document ↗
- Classification and reversibility
- LEA is a block cipher used for encryption and decryption. Source document ↗
- Key or secret requirements
- A symmetric cipher requiring a secret key and supporting three key lengths. Source document ↗
- Operating principle and structure
- Uses 32-bit ARX (modular addition, rotation and XOR) operations as round functions. Source document ↗
- Key size, block size and parameters
- 128-bit block, 128/192/256-bit keys and 24/28/32 rounds respectively. Source document ↗
- Security strength and recommendation
- As of 2019, no successful attacks on full-round LEA were known. Source document ↗
- Known attacks and vulnerabilities
- No successful full-round attack had been published as of 2019. Source document ↗
- Standards and certification
- Korean national standard KS X 3246. Source document ↗
- Typical uses
- Used to provide confidentiality in high-speed big-data and cloud environments. Source document ↗
- Implementations, libraries and tools
- Crypto++ source includes a lea.cpp implementation. Source document ↗
- Decryption or decoding
- LEA encrypts and decrypts 128-bit messages as a block cipher. Source document ↗
- Advantages
- Optimized for high-speed software implementation. Source document ↗
- Limitations and cautions
- Not confirmed in the survey
- Distinguishing encryption, encoding and hashing
- Distinguish symmetric encryption from encoding and hashing. Source document ↗
Practical examples
Example
Input a 128-bit plaintext block and a 128/192/256-bit secret key to produce a ciphertext block. Decrypt with the same key and implementation's decryption procedure.
Procedure
Encryption: generate/store the key, process plaintext in 128-bit blocks, apply mode and IV/nonce, output ciphertext. Decryption: reverse with the same key and mode parameters. Encoding/decoding changes representation without a key and is separate.
Scenario
Protect sensitive data with symmetric keys in resource-constrained IoT devices or high-speed cloud/big-data environments. Combine suitable modes with key management for transmission and storage and restrict decryption to key holders.
Pitfalls and alternatives
Avoid key/IV reuse, mode misuse and confusing LEA with encoding or hashing. Prefer vetted libraries to custom implementations; assess padding, side-channel and key-management risks.