Options for password-based encryption (Argon2id + XChaCha20-Poly1305).
Password (UTF-8 string or bytes).
Plaintext to encrypt.
Optional
Argon2id time cost (iterations). Default: 3.
Argon2id memory cost in KiB. Default: 65536 (64 MiB).
Argon2id parallelism. Default: 4.
Options for password-based encryption (Argon2id + XChaCha20-Poly1305).