Question Everything!
New member
I have two functions. One is PHP and the other is JavaScript. They both should generate the same string if the input is the same.
E.g.
input = "qwerty123" output would = "7.1674618149499E+85"
input = "qwerty123" output would = "7.1674618149499E+85"
input = "asdfg321" output would = "3.872593418529023e+91"
The problem is that the JS and PHP functions are NOT generating the same string/salt for the same input.
The code is here: lemsn.freehostia.com/match_code.txt
The match test is here: lemsn.freehostia.com/match_test.php
E.g.
input = "qwerty123" output would = "7.1674618149499E+85"
input = "qwerty123" output would = "7.1674618149499E+85"
input = "asdfg321" output would = "3.872593418529023e+91"
The problem is that the JS and PHP functions are NOT generating the same string/salt for the same input.
The code is here: lemsn.freehostia.com/match_code.txt
The match test is here: lemsn.freehostia.com/match_test.php