LEACrypt
The Lightweight Encryption Algorithm (also known as LEA) is a 128-bit block cipher developed by South Korea in 2013 to provide confidentiality in high-speed environments such as big data and cloud computing, as well as lightweight environments such as IoT devices and mobile devices.
LEA is one of the cryptographic algorithms approved by the Korean Cryptographic Module Validation Program (KCMVP) and is the national standard of Republic of Korea (KS X 3246). LEA is included in the ISO/IEC 29192-2:2019 standard (Information security - Lightweight cryptography - Part 2: Block ciphers).
Command-line Lightweight Encryption Algorithm Utility
Usage of leacrypt: -d Decrypt instead Encrypt. -f string Target file. ('-' for STDIN) -i int Iterations. (for PBKDF2) (default 1024) -k string 256-bit key to Encrypt/Decrypt. -p string Password-based key derivation function2. -r Generate random 256-bit cryptographic key. -s string Salt. (for PBKDF2)
Example of encryption/decryption:
./leacrypt -k $256bitkey -f plaintext.ext > ciphertext.ext
./leacrypt -d -k $256bitkey -f ciphertext.ext > plaintext.ext
License
This project is licensed under the ISC License.