crypt4gh
pub fn encrypt_segment(data: &[u8], nonce: Nonce, key: Key) -> Vec<u8>
Encrypts a segment.
Returns [ nonce + encrypted_data ].