Encrypted Password

Hello,

I’m trying to create a login page with to a ‘user’ database which has column of
user | password(encrypted) | userlevel

problem:
I need to make it so the input password in login page get some md5 encryption so it can be read from the database

anyone know how it can be done?

thanks :smiley:

No need to make it md5 in Login page anymore, since the generated web app has handled it properly.

thank you for the reply

but the problem is i need to create the login page which transform the password input into specific combination in md5 encryption so i can use it with user database of my previous project

is it possible?

Then you may simply refer to the logic that implemented for the generated Login page.

I don’t understand either.
Once you create the password field (Varchar 255), and generate the page how does the password get entered so it’s encrypted.
Are there settings that need to get set in PHPmaker?

Make sure you have already enabled “Encrypt user names and passwords” option and defined your own value in “Encryption key for data protection” setting from “Tools” → “Advanced Settings”, and then re-generate ALL the script files again.

After that, you may learn the generated code from “classes/login.php” file; just search for “Encrypt” keyword in that file.

thank you, i missed this “Encrypt user names and passwords”