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

8.2. PHP sha1()

string sha1 ( string str [, bool raw_output] )


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

		

運行輸出字元串:eb673aa189c814d2db9fb71f162da1c81b4eba1c

comments powered by Disqus