netfp 0.2.1

Rust primitives and implementations for network fingerprinting
Documentation
1
2
3
4
5
6
7
8
9
pub(crate) fn random_byte() -> u8 {
    rand::random()
}

pub fn random_32_bytes() -> [u8; 32] {
    let mut bytes = [0u8; 32];
    rand::fill(&mut bytes);
    bytes
}