# Functions

Decrypt takes a JSON-encoded ciphertext object encrypted using Encrypt and tries to decrypt it using passphrase.
Encrypt takes a passphrase and plaintext, and returns a JSON object containing ciphertext and the details necessary to decrypt it.
EncryptWithCustomKDFParameters takes a passphrase, the plaintext and a KDF parameter level (Legacy, Standard, or OWASP), and returns a JSON object containing ciphertext and the details necessary to decrypt it.
Marshal encrypts the JSON encoding of v using passphrase.
MarshalWithCustomKDFParameters encrypts the JSON encoding of v using passphrase.
Unmarshal decrypts the data using passphrase and unmarshals the resulting plaintext into the value pointed to by v.

# Constants

Legacy defines legacy scrypt parameters (N:2^15, r:8, p:1).
OWASP defines OWASP recommended scrypt parameters (N:2^17, r:8, p:1).
Standard defines standard scrypt parameters which is focusing 100ms of computation (N:2^16, r:8, p:1).

# Type aliases

KDFParameterStrength defines the KDF parameter strength level to be used for encryption key derivation.