Jump to content

sha256 function


Piorun

Recommended Posts

Posted

Hi guys

Im creating register/login script but i need to code/decode password. Im using sha256() function and im putting this into MySQL. How to decode that password or what type of column coding should i set (now i have utf_general_ci)?

Posted

Hashed passwords aren't meant to be "de-hashed". You need to hash the password written by the client and compare it to the one in the database.

Posted

Mhm ok but when i hash string (for ex. from guiGetText) im taking different than original. That's why im asking about MySQL column and coding this.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...