Function tsproto::algorithms::encrypt[][src]

pub fn encrypt(
    packet: &mut OutPacket,
    generation_id: u32,
    iv: &[u8; 64],
    cache: &mut [[CachedKey; 2]; 8]
) -> Result<(), Error>