/var/www/hkosl.com/oneMotorChunHing_delete20240201/html/temp.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php 
$password 
crypt('mypassword'); 
print 
$password " is the encrypted version of mypassword<br>"
?> 
This will output the encrypted version of ”„mypassword”¦ for you to see. Now let”¦s try it using different types of salt. 


<?php 
$password 
crypt('mypassword' 'd4'); 
print 
$password " is the CRYPT_STD_DES version of mypassword<br>"
$password crypt('mypassword' 'k783d.y1g'); 
print 
$password " is the CRYPT_EXT_DES version of mypassword<br>"
$password crypt('mypassword' '$1$d4juhy6d$'); 
print 
$password " is the CRYPT_MD5 version of mypassword<br>"
$password crypt('mypassword' '$2a$07$kiuhgfslerd...........$'); 
print 
$password " is the CRYPT_BLOWFISH version of mypassword<br>"

?>