📄 password_debug.php
字号:
<?php
echo "CRYPT_SALT_LENGTH is:";
echo CRYPT_SALT_LENGTH;
echo "<br><br>";
echo "CRYPT_STD_DES - Standard DES-based encryption with a two character salt<br>";
echo "Is CRYPT_STD_DES supported on your system? (1=Yes, 0=No)<br>";
echo CRYPT_STD_DES;
echo "<br><br>CRYPT_EXT_DES - Extended DES-based encryption with a nine character salt<br>";
echo "Is CRYPT_EXT_DES supported on your system? (1=Yes, 0=No)<br>";
echo CRYPT_EXT_DES;
echo "<br><br>CRYPT_MD5 - MD5 encryption with a twelve character salt starting with $1$<br>";
echo "Is CRYPT_MD5 supported on your system? (1=Yes, 0=No)<br>";
echo CRYPT_MD5;
echo "<br><br>CRYPT_BLOWFISH - Blowfish encryption with a sixteen character salt starting with $2$<br>";
echo "Is CRYPT_BLOWFISH supported on your system? (1=Yes, 0=No)<br>";
echo CRYPT_BLOWFISH;
echo "<br><br>";
echo "<hr>";
echo "<br><br>";
echo "Output of crypt('root', substr('.bxZh9KCGVIvI', 0, 2)) :<br>";
echo crypt('root', substr('.bxZh9KCGVIvI', 0, 2));//encrypt the password
echo "<br><br>";
echo "Output of crypt('root', '.bxZh9KCGVIvI') :<br>";
echo crypt('root', '.bxZh9KCGVIvI');//encrypt the password
echo "<br><br>";
echo "Output of crypt('root', substr('root', 0, 2)) :<br>";
echo crypt('root', substr('root', 0, 2));
echo "<br><br>";
echo "Output of crypt('root') :<br>";
echo crypt('root');
echo "<br><br>";
echo "Output of crypt('root', 'root') :<br>";
echo crypt('root', 'root');
echo "<br><br>";
echo "Output of crypt('root', crypt('root')) :<br>";
echo crypt('root', crypt('root'));
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -