fn from(secret_key: SecretKey32) -> Self {
        let key = Key::from_slice(secret_key.unprotected_as_bytes());
        let cipher = XChaCha20Poly1305::new(key);
        Self { cipher }
    }
/// Create a new XChaCha20Poly1305 codec with a 32-byte key
Create a new XChaCha20Poly1305 codec with a 32-byte key
Create a new XChaCha20Poly1305 codec with a 32 - byte key
fn from(secret_key: SecretKey32) -> Self {
        let key = Key::from_slice(secret_key.unprotected_as_bytes());
        let cipher = XChaCha20Poly1305::new(key);
        Self { cipher }
    }
fn from ( secret_key : SecretKey32 ) -> Self { let key = Key :: from_slice ( secret_key . unprotected_as_bytes ( ) ) ; let cipher = XChaCha20Poly1305 :: new ( key ) ; Self { cipher } }
Create a new XChaCha20Poly1305 codec with a 32-byte key
Create a new XChaCha20Poly1305 codec with a 32 - byte key
secret_key
SecretKey32