Skip to main content

default_random_fill

Function default_random_fill 

Source
pub fn default_random_fill() -> [u8; 1528]
Expand description

A fixed, non-cryptographic 1528-byte fill pattern for a server’s own S1 random bytes when the caller has no specific bytes to supply. Per §5.2.3 the field only needs to “distinguish this handshake from the peer’s” — no cryptographic randomness is required, so a deterministic repeating byte pattern is spec-conformant and keeps this crate free of a rand-style dependency.