Registry / crypto / pqcrypto-traits

pqcrypto-traits

JSON →
library0.3.5rscratesunverified

Shared traits for post-quantum cryptographic primitives, enabling generic implementations.

# Cargo.toml [dependencies] pqcrypto-traits = "0.3.5"
INSTALL
IMPORT
SIG · PQCRYPTO-TRAITS
P
pqcrypto-traits
cryptorustv0.3.5
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.

Kem
✓ use pqcrypto_traits::kem::Kem;

Use post-quantum KEM traits.

use pqcrypto_traits::kem::Kem; fn main() { // Example using a concrete KEM implementation let (pk, sk) = pqcrypto_kyber::kyber512::keypair(); println!("Public key length: {}", pk.as_bytes().len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
Resources
pqcrypto-traits — cargo add pqcrypto-traits · libregistry