Function lockchain_core::crypto::random::bytes[][src]

Important traits for Vec<u8>
pub fn bytes(length: usize) -> Vec<u8>

Generate a sequence of random bytes that are returned as a vector.

Can at most allocate 2048 bytes at a time FIXME: That shouldn't have a limit!