pub fn to_encrypted_packet(
    crypto: &CryptoStore,
    data: &[u8]
) -> Result<Vec<u8>, SecureError>
Expand description

Encrypt data using provided CryptoStore and make it packet