Skip to main content

encrypt_notes

Function encrypt_notes 

Source
pub fn encrypt_notes(
    plaintext: &[u8],
    password: &str,
) -> Result<Vec<u8>, String>
Expand description

Encrypt NDJSON note bytes using AES-256-GCM and PBKDF2 key derivation.