Registry / crypto / cipher

cipher

JSON →
library0.5.2rscratesunverified

Traits for describing block ciphers and stream ciphers in Rust.

crypto
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use cipher::{BlockCipher, StreamCipher};

Demonstrates using the cipher traits with a concrete AES implementation.

use cipher::{BlockCipher, KeyInit, generic_array::GenericArray}; fn main() { let key = GenericArray::from_slice(b"an example key.."); let cipher = aes::Aes128::new(key); println!("Cipher initialized"); }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
13 hits · last 30 days
gptbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources