Field Level Encryptor
Encrypts individual JSON fields into envelope format before document encryption.
Encrypted fields are replaced with:
{"__enc":"<base64>","__alg":"AES-256-GCM","__kid":"v1"}Content copied to clipboard
Uses the existing CryptoProvider infrastructure. NIST SC-28: Protection of Information at Rest.
Since
0.5.0
1.1.0 Throws FieldEncryptionException on failure instead of silently falling back to plaintext (previous behavior leaked PII when the Keystore key was unavailable).