Delete decrypted data from the Database

Hi everyone. I have created a repeating group to display users information using encryption. However I want to delete the decrypted data automatically when the user is logged out. Is there any way to do this?