1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//! Pure Rust implementation of the [DES cipher][1], including triple DES (3DES). //! //! [1]: https://en.wikipedia.org/wiki/Data_Encryption_Standard #![no_std] #![doc( html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg", html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg" )] #![forbid(unsafe_code)] #![warn(missing_docs, rust_2018_idioms)] pub use cipher; mod consts; mod des; mod tdes; pub use crate::des::Des; pub use crate::tdes::{TdesEde2, TdesEde3, TdesEee2, TdesEee3};