kerberos_crypto/algorithms/rc4_hmac_md5/
preamble.rs

1use crate::utils::random_bytes;
2
3/// Generate an aleatory preamble to insert at the beginning of the
4/// plaintext before RC4 encryption
5pub fn generate_preamble() -> Vec<u8> {
6    return random_bytes(8);
7}