Skip to main content

c2_strip_outer

Function c2_strip_outer 

Source
pub fn c2_strip_outer(
    keys: &RestreamerKeys,
    sealed: &[u8],
) -> Result<Vec<u8>, CryptoError>
Expand description

C2 strips the outer layer; returns opaque inner bytes (Noise ciphertext or handshake).