pub fn encrypt(plaintext: &[u8], passphrase: &[u8]) -> Vec<u8> ⓘ
Encrypts plaintext and into a newly allocated Uint8Array.
plaintext
Uint8Array
This uses the recommended scrypt parameters according to the OWASP Password Storage Cheat Sheet.