[eluser]HrvojeKC[/eluser]
Hi!
I stumbled acros this diference in codeigniter:
If you echo the same string with dohash() and sha1() there is a tiny diference - the '0' at the end of the sha1() string!
Code:
echo 'dohash:<br>'.dohash('Hrvoje');
echo '<br>';
echo '<br>';
echo 'sha1:<br>'.sha1('Hrvoje');
I get:
dohash:
cdc84bff3d4530ff7642f446387ce850631f1251
sha1:
cdc84bff3d4530ff7642f446387ce850631f12510
Is this normal, intended or a bug?