源代码
"; echo "TRUE - 原始 20 字符二进制格式:".sha1($str, TRUE)."
"; echo "FALSE - 40 字符十六进制数:".sha1($str)."
"; ?>
运行结果