I have a client who wants a web application that will be doing some transactions, I know the sensitive data like passwords, bank account details should be encrypted.
But he wants a profile for users that has sensitive data like date of birth, addresses, but if I over encrypt this data won't it have an effect on performance especially searching for example
SELECT * FROM PROFILE ( decrypt the data to display it).
Another scenario where I save transactional activities, sometimes a user can do a bank transfer on the fly which means the bank account number is not stored in our database but will be stored in transactions table. Do I have to encrypt this bank account while saving it in recent transactions table? If yes, won't I have performance issues when retrieving data from this table later on.