#cipher #cryptography #lea

no-std lea

Lightweight Encryption Algorithm (LEA)

7 releases

Uses new Rust 2021

0.5.3 Sep 17, 2022
0.5.2 Feb 4, 2022
0.5.1 Nov 14, 2021
0.5.0 May 21, 2021
0.1.1 Apr 21, 2020

#452 in Cryptography

Download history 3/week @ 2022-06-17 13/week @ 2022-06-24 24/week @ 2022-07-01 12/week @ 2022-07-08 18/week @ 2022-07-15 18/week @ 2022-07-22 13/week @ 2022-07-29 12/week @ 2022-08-05 14/week @ 2022-08-19 12/week @ 2022-08-26 36/week @ 2022-09-09 19/week @ 2022-09-16 3/week @ 2022-09-23

58 downloads per month

MIT license

70KB
809 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–2022 Gihun Nam sitd0813@gmail.com

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

~250–375KB