mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat: encrypt PII fields before saving it in the database (#1043)
Co-authored-by: Nishant Joshi <nishant.joshi@juspay.in>
This commit is contained in:
@ -71,6 +71,10 @@ pub enum StorageError {
|
||||
CustomerRedacted,
|
||||
#[error("Deserialization failure")]
|
||||
DeserializationFailed,
|
||||
#[error("Error while encrypting data")]
|
||||
EncryptionError,
|
||||
#[error("Error while decrypting data from database")]
|
||||
DecryptionError,
|
||||
#[error("RedisError: {0:?}")]
|
||||
RedisError(error_stack::Report<RedisError>),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user