Registry / crypto / aes-kw

aes-kw

JSON →
library0.3.1rscratesunverified

Implements NIST 800-38F AES Key Wrap (KW) and Key Wrap with Padding (KWP) modes.

# Cargo.toml [dependencies] aes-kw = "0.3.1"
INSTALL
IMPORT
SIG · AES-KW
A
aes-kw
cryptorustv0.3.1
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.

KeyWrap
use aes_kw::KeyWrap;

Wrap a key using AES Key Wrap.

use aes_kw::KeyWrap; fn main() { let key = [0u8; 16]; // 128-bit key let plaintext = [0u8; 16]; // data to wrap let wrapped = KeyWrap::wrap(&key, &plaintext).unwrap(); println!("Wrapped: {:?}", wrapped); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
38
Resources
aes-kw — cargo add aes-kw · libregistry