pub fn encrypt_sensitive_field(data: &str) -> Result<String, EncryptionError>
Expand description
Encrypts sensitive data if encryption is configured, otherwise returns base64-encoded plaintext
pub fn encrypt_sensitive_field(data: &str) -> Result<String, EncryptionError>
Encrypts sensitive data if encryption is configured, otherwise returns base64-encoded plaintext