Encrypts the given data with the given passphrase.
The output array must be at least plaintext_len +
pass_encryption_extra_length
bytes long. This delegates to
PassKey.PassKey.derive and
PassKey.encrypt.
plaintext |
A byte array of length |
passphrase |
The user-provided password. Can be empty. |
ciphertext on success. |