Crates.io | serpent-cipher |
lib.rs | serpent-cipher |
version | 0.1.2 |
source | src |
created_at | 2019-11-18 20:14:21.81677 |
updated_at | 2019-11-19 02:05:40.993742 |
description | A naive pure Rust implementation of the Serpent block cipher. |
homepage | |
repository | https://gitlab.com/zao/serpent/ |
max_upload_size | |
id | 182283 |
size | 1,068,047 |
A pure Rust implementation of the Serpent block cipher candidate for the AES standard.
This crate does not promise any form of implementation guarantees for timing or space characteristics. It's a naive translation of the reference C code from the Serpent authors.
The intent of this crate is to provide a pure implementation of the cipher for non-critical applications. It handles the known-answer test vectors from the reference submission for variable keys, variable text, and the input table that is designed to exercise the S-boxes. Use it where you need to encrypt and decrypt weird payloads and would rather do it from Rust than C, but please don't use it anywhere sensitive.
It's using external crates and definitely uses the std
, if you're looking for something that needs to run no_std
on some dinky little embedded device, it would need some massage to get rid of the nice things from the Rust std.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.