Recently I started looking at the AES encryption for a parallel project. I'm investigating this until now, so if there's a problem with my concept, correct it.
According to me, if I want to encrypt something in AES, I must encrypt it using a 128-bit key that the user must keep for data encryption and decryption.
Two options that I already knew after my research are PBKDF2 and bcrypt. I still have to try the implementation. So, I thought about asking here first.
So for my project I have two options to generate that key and tell the user to keep that key, which will be my plan B. I wanted to generate a key using the login details of the user, which will be generated every time the user starts session. For encryption and decryption.
But I can not find a way to convert the credentials into a 128-bit key.
Thanks for any support. It is possible that someone can consult some resources to learn more about AES.