[−][src]Trait bluetooth_mesh::random::Randomizable
Required methods
fn random_secure() -> Self
Generates and returns a cryptographically secure random T
.
Provided methods
fn random() -> Self
Generates and returns a random T
. Currently essentially just an alias for rand::random
Assume random
to be not secure! Even though random
could use a cryptographically secure
random number generator behind the scenes, use random_secure
if you need crypto-random.
Implementors
impl Randomizable for AppKey
[src]
fn random_secure() -> Self
[src]
impl Randomizable for DevKey
[src]
fn random_secure() -> Self
[src]
impl Randomizable for Key
[src]
fn random_secure() -> Self
[src]
impl Randomizable for NetKey
[src]
fn random_secure() -> Self
[src]
impl<T> Randomizable for T where
Standard: Distribution<T>,
[src]
Standard: Distribution<T>,