pub fn encrypt( algorithm: EncryptionAlgorithm, repo_key: &[u8], path: &str, plaintext: &[u8], ) -> Result<Vec<u8>>