Registry / crypto / aes-ctr

aes-ctr

JSON →
library0.99.99rscratesunverified

DEPRECATED: replaced by the `aes` crate

# Cargo.toml [dependencies] aes-ctr = "0.99.99"
INSTALL
IMPORT
SIG · AES-CTR
A
aes-ctr
cryptorustv0.99.99
harness data pending
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.

Aes256Ctr
use aes::Aes256Ctr;

Encrypt data using AES-256-CTR

use aes::Aes256Ctr; use aes::cipher::{KeyIvInit, StreamCipher}; let key = [0u8; 32]; let iv = [0u8; 16]; let mut cipher = Aes256Ctr::new(&key.into(), &iv.into()); let mut data = b"Hello world!".to_vec(); cipher.apply_keystream(&mut data); println!("{:?}", data);
Debug
Known issues
breakingThis crate is deprecated; use the `aes` crate instead.
fix
Replace `aes-ctr` with `aes` in Cargo.toml and update imports.
affects: >=0.99.99
Upgrade
Version history
0.99.99latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
aes-ctr — cargo add aes-ctr · libregistry