If an attacker is in your system, and if the data in question ends up in a database, then it is either decrypted or trivially decryptable.
To put it another way: WhatsApp claim to use end-to-end encryption for their messaging service [1]. If a hacker gained unrestricted access to their online server and database, could that hacker read any user messages?
https://en.wikipedia.org/wiki/Yahoo!_data_breach
i.e. messages weren't stolen, account information was.