Last active
August 29, 2015 14:22
-
-
Save javedbaloch4/806e39ebd78b35e9c52a to your computer and use it in GitHub Desktop.
Convert plan text into hash md5,crypt,sha1 in PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$txt = "Javed"; | |
$t_md5 = md5($txt); | |
$t_sha1 = sha1($txt); | |
$t_crypt = crypt($txt); | |
echo $t_md5. "<br>" . $t_sha1 . "<br>" . $t_crypt ; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment