3 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for klemme

Another issue with sha1. I am creating users via a registration form, that when submitted, has made the password a sha1. [B]Registration script:[/B] [CODE] if($_POST['pass1']==$_POST['pass2']){ $password = sha1(mysqli_real_escape_string($connection, $_POST['pass1'])); } [/CODE] When the user log in, I have this script using sha1. [B]Login script:[/B] [CODE] $password = sha1(mysqli_real_escape_string($connection, $_POST['password'])); $sql=("SELECT …

Member Avatar for klemme
0
804
Member Avatar for klemme

Hi, I am using sha1 for a registration form like this: [CODE] if($_POST['pass1']==$_POST['pass2']){ $password = sha1(mysqli_real_escape_string($connection, $_POST['pass1'])); } // This inserts an encrypted row in the DB, and works fine [/CODE] When i want to log in, well I cant login..This is the script: [CODE] $email = mysqli_real_escape_string($connection, $_POST['email']); $password …

Member Avatar for migcosta
0
626
Member Avatar for feoperro

Hi, I'm currently looking at password hashing and from what I've read so far, it seems pretty pointless. I read this [URL="http://phpsec.org/articles/2005/password-hashing.html"]article[/URL] which recommends using MD5 or SHA-1, however I Googled for decrypters and found them witin the first 3 results on Google. I don't quite understand the purpose of …

Member Avatar for feoperro
0
297

The End.