Registry / crypto / pqcrypto-dilithium

pqcrypto-dilithium

JSON →
library0.5.0rscratesunverified

Post-Quantum Signature Scheme dilithium implementation.

# Cargo.toml [dependencies] pqcrypto-dilithium = "0.5.0"
INSTALL
IMPORT
SIG · PQCRYPTO-DILITHIUM
P
pqcrypto-dilithium
cryptorustv0.5.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.

sign
use pqcrypto_dilithium::sign;

Generates a keypair, signs a message, and verifies the signature.

use pqcrypto_dilithium::sign; fn main() { let (pk, sk) = sign::keypair(); let msg = b"test message"; let sig = sign::sign(msg, &sk); assert!(sign::verify(msg, &sig, &pk).is_ok()); }
Debug
Known issues
gotchaThis crate is experimental and may not be suitable for production use.
fix
Use only for testing or research; consider NIST-standardized implementations.
affects: *
Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources
pqcrypto-dilithium — cargo add pqcrypto-dilithium · libregistry