1 unstable release

0.5.4 Mar 14, 2023
0.5.3 Sep 17, 2022
0.5.2 Feb 4, 2022
0.5.1 Nov 14, 2021
0.2.3 Apr 28, 2020

#2079 in Cryptography

41 downloads per month

MIT license

74KB
872 lines

lea-rust

crates.io docs.rs

lea-rust is an implementation of a 128-bit ARX block cipher LEA written in pure Rust.

Lightweight Encryption Algorithm (LEA)

Lightweight Encryption Algorithm (LEA) is a 128-bit ARX block cipher algorithm developed by the South Korean National Security Research Institute in 2013. Designed to be faster and more lightweight, it maintains enough security to be the replacement of the AES.

See https://en.wikipedia.org/wiki/LEA_(cipher) and https://seed.kisa.or.kr/kisa/algorithm/EgovLeaInfo.do for more information.

Features

Feature Description Default
ccm LEA-CCM false
ctr LEA-CTR false
zeroize Zeroize memory containing sensitive data false

Security

  • Warning: This implementation has been tested on little-endian devices only.
  • Warning: This implementation has not received any security audit.

License

Copyright © 2020–2023 남기훈 gihunnam@proton.me

This project is subject to the terms of the MIT License (the "License"). If a copy of the License was not distributed with this file, you can obtain one at https://opensource.org/licenses/MIT.

Dependencies

~270–415KB