I'm not working on the actual code yet, i'm just not sure if what i want to do is possible, but here goes.
I'm creating a form with user registration input fields.
Name email, password, mobile number, etc etc.
Currently it's standard practice to use 'type=password' for only the password field to make the password field show up as dots and be encrypted.
So i need to know if type=password just hides the display of the text type or is it a part of the encryption of the password itself?
Lines of code where the mysql command encrypts the data are coming to mind, but i'm not familiar enough yet to know for certain.
Later on in the site development it will pull the encrypted name, or email, or whatever and decrypt it for display on html pages or whatever else i'll use it for.
The idea is very tight security in case the database is compromised.
my understanding is that if a database with user registration information is compromised, the password field will be secure, but the other data, being plain text, will be vulnerable to malicious eyes.
Last question, is there an easier way to achieve this goal? i've googled and haven't found anything. it doesn't seem to be anything that anyones ever done before, or if it has, i'm not googling properly to find it.