Function encrypt

Source
pub fn encrypt(
    plaintext: &str,
    caesar_shift: u8,
) -> Result<(String, String, String), String>
Expand description

Encrypts a plaintext message using the VibeProtocol encryption sequence: Caesar cipher -> Sodium encryption -> Base64 encoding.