I have recently starting looking into AES encryption for a side project. I am researching this till now so if there is something wrong about my concept please correct it.
According to me If i want to encrypt something in AES I have to encrypt it by a 128bit key which The user must preserve for encryption and decryption of data.
Two options that I by now came to know after my research are PBKDF2 and bcrypt I am still to try implementation. so, I thought of asking here first.
So for my project I have two options that I generate that key and tell user to preserve that key which will be my plan B. I wanted to generate a key using user login details which will be generated every time user logins he can use that key for encryption and decryption.
But I cannot figure out a way to convert credentials into 128bit key.
Thank you for any support. I possible can anyone please refer some resources for learning about AES more.