embassy-crypto-rand

Crates

git

Versions

default

Flavors

Skip to main content

Crate embassy_crypto_rand

Crate embassy_crypto_rand 

Source
Expand description

§embassy-crypto-rand

Random number generator driver for embassy-crypto, backed by the operating system’s secure random source through rand::rngs::OsRng.

Depending on this crate registers OsRng as the global embassy_crypto::driver::Rng.

[dependencies]
embassy-crypto = "0.1"
embassy-crypto-rand = "0.1"

To make sure Rust links this crate, add a dummy use like this:

use embassy_crypto_rand as _;