Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #nevermind
- /*
- md5() renvoie toujours le même hash pour la même string de départ
- */
- $test = 'Hey ça va ?';
- $test_lvl_2 = md5($test);
- $output = md5($test_lvl_2)."\t";
- $output .= md5( md5($test) );
- echo $output;
- /*
- crypt() renvoie des hash différents lui
- */
- echo "<br />";
- $test_lvl_2_crypt = crypt($test);
- $output_crypt = crypt($test_lvl_2)."\t";
- $output_crypt .= crypt( crypt($test) );
- echo $output_crypt;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement