Registry / crypto / hmac-drbg

hmac-drbg

JSON →
library0.3.0rscratesunverified

Pure Rust implementation of HMAC DRBG (Deterministic Random Bit Generator) as specified in NIST SP 800-90A.

# Cargo.toml [dependencies] hmac-drbg = "0.3.0"
INSTALL
IMPORT
SIG · HMAC-DRBG
H
hmac-drbg
cryptorustv0.3.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.

HmacDRBG
use hmac_drbg::HmacDRBG;

Generate random bytes using HMAC DRBG.

use hmac_drbg::HmacDRBG; use sha2::Sha256; let mut drbg = HmacDRBG::<Sha256>::new( b"seed", b"personalization", b"additional", ); let mut output = [0u8; 32]; drbg.generate(&mut output, None);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hmac-drbg — cargo add hmac-drbg · libregistry