liblisa::state::random

Function randomized_bytes_select_nth

pub fn randomized_bytes_select_nth<R: Rng>(rng: &mut R, index: usize) -> u8
Expand description

Returns a randomized byte for position index into a byte vector. This avoids the allocation of a vector for the result.