Text mode uses AES-GCM with Argon2id key derivation (t=3, m=64MiB, p=2), 32-byte salt, 12-byte IV; metadata bound via AAD.
This output contains non-secret metadata (salt, IV, etc.) required for decryption.
File mode uses AES-GCM with Argon2id (t=3, m=64 MiB, p=2). The v5 format encrypts all metadata including the filename.