I am making an app on android studio with a Firebase backed. It currently stores information about the user that they upload their selves in their own sections of the Firebase database. It is stored in the structure that uses their uuid of their Firebase account and puts all their uploads under that i.e. their pictures, reminders, notes and passwords.
I would like to encrypt the passwords section in the database so even I can not read it. When i say passwords section i mean the part in the app that allows users to store their own new generated passwords for other things ; not the password they use to login to the app, i know this is already encrypted and want to know how to achieve this myself.
How would i go about it? Would i need to use the users auth/uuid that you can get from Firebase after they login as a private key to encrypt the password or any other data as they are uploading it? And store the public key somewhere in their section of the Firebase database? I am not very experienced when it comes to encryption.
If someone could please give me some sort of direction on how i should go about encrypting this data so even i cant read it from the back end that would be great thank you.