Home | Mirror | SearchITEYE 博客 | OSChina 博客 | 51CTO 博客

10.2. PHP sha1()

string sha1 ( string str [, bool raw_output] )


<?php
	$str = 'netkiller';
	echo sha1($str);
?>

		

运行输出字符串:eb673aa189c814d2db9fb71f162da1c81b4eba1c

comments powered by Disqus