Function bytes2uniform

Source
pub fn bytes2uniform(val: &[u8]) -> f64
Expand description

Read bytes as a [0,1) float by reading the first 52 bits. Panics if fewer than 8 bytes are supplied Can be used to produces a shared ‘random’ value by using Point::hash or blake3 as input.