Registry / crypto / aws-lc-rs

aws-lc-rs

JSON →
library1.17.0rscratesunverified

aws-lc-rs is a cryptographic library using AWS-LC for its cryptographic operations. This library strives to be API-compatible with the popular Rust library named ring.

# Cargo.toml [dependencies] aws-lc-rs = "1.17.0"
INSTALL
IMPORT
SIG · AWS-LC-RS
A
aws-lc-rs
cryptorustv1.17.0
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.

Aad
use aws_lc_rs::aead::Aad;

Create an AES-256-GCM key for encryption.

use aws_lc_rs::aead::{Aad, LessSafeKey, UnboundKey, AES_256_GCM}; fn main() -> Result<(), aws_lc_rs::error::Unspecified> { let key = UnboundKey::new(&AES_256_GCM, &[0u8; 32])?; let sealing_key = LessSafeKey::new(key); let aad = Aad::empty(); println!("Key created"); Ok(()) }
Debug
Known issues
gotchaAPI is not fully compatible with ring; some functions may differ.
fix
Check the documentation for exact API differences and adjust usage accordingly.
affects: >=1.0.0
Upgrade
Version history
1.17.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
32
Amazon
1
Resources
aws-lc-rs — cargo add aws-lc-rs · libregistry