Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Password Encrypt/Decrypt

New Here ,
Dec 12, 2008 Dec 12, 2008
Im working on the login and followed http://tutorial8.easycfm.com/. It works for me, however when I try to login and put my password, it will not take. It only recognize the characted in the database which are encrypted.

For example:
My login:
User_name: admin
user_pass: normalpassword

In the database:
User_name: admin
user_pass Hz345Yu89765abc

My login only will take the password in the database and not recognize my normal password when i enter.

Here is the same code I have in my site which I took from http://tutorial8.easycfm.com/:
512
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 12, 2008 Dec 12, 2008
Hi,

Can you confirm that your "tblAdmins" table's fields are of the same datatypes that has been given in that tutorial?.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 12, 2008 Dec 12, 2008
yes, infact. I can login using the encrypted password from the table.

So I did little research and found out that the password was in MD5 and utf8_to_cp1252. So how can I convert my regular password to MD5, so it will equal to my plain text password.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 12, 2008 Dec 12, 2008
yes, infact. I can login using the encrypted password from the table.

So I did little research and found out that the password was in MD5 and utf8_to_cp1252. So how can I convert my regular password to MD5, so it will equal to my plain text password.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 12, 2008 Dec 12, 2008
LATEST
You can do it using this UDF,

http://cflib.org/udf/MD5

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources