Module hdk::random[][src]

Generate cryptographic strength random data

The host provides the random bytes because any/all wasm implementations of randomness is flawed and insecure.

Traits

TryFromRandom

Functions

random_bytes

Get N cryptographically strong random bytes.