运行 ❯
获取您
自己的 PHP
服务器
×
更改方向
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <body> <?php $str = "Hello"; echo "The string: ".$str."<br>"; echo "TRUE - Raw 20 character binary format: ".sha1($str, TRUE)."<br>"; echo "FALSE - 40 character hex number: ".sha1($str)."<br>"; ?> </body> </html>
字符串:Hello
真 - 原始20字符二进制格式:{pZ]x^ Ы
假 - 40字符十六进制数:f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0