Assume I have a PII (personal identifier info) data like email. I plan to encrypt that info with a secret key and keep in a column in database, and mask it in another column like so:
Plaintext : john.smith@gmail.com
Email_masked: “john.sm***@gm”
Encrypted : sadsdfafewfew213asd
So in DB, encrypted and masked is stored.
If a hacker gets access to this DB, can having masked data make it easier to crack the secret?