Rust implementation of the PRESENT ultra-lightweight block cipher
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
benches
src
tests
.gitignore
.travis.yml
Cargo.toml
LICENSE
README.md

README.md

PRESENT.rs

Build Status codecov

Rust implementation of the PRESENT ultra-lightweight block cipher [1]

Usage

API

Coming soon!

Command-line

Encrypt with an 80-bit key:

present --key 0000000000 Tux.ppm > Tux.enc

Decrypt with the same key:

present --key 0000000000 -d Tux.enc > Tux.dec.ppm

References

[1] Bogdanov, A., Knudsen, L. R., Leander, G., Paar, C., Poschmann, A., Robshaw, M. J., ... & Vikkelsoe, C. (2007, September). PRESENT: An ultra-lightweight block cipher. In International Workshop on Cryptographic Hardware and Embedded Systems (pp. 450-466). Springer, Berlin, Heidelberg. (PDF)