<?php $str = "abcde"; print "md5 : " . md5( $str ) . "\n"; print "cha1 : " .sha1( $str ) . "\n"; print "crypt : " .crypt( $str ) . "\n"; print "rot13 : " .str_rot13( $str ) . "\n"; ?> ●実行結果 md5 : ab56b4d92b40713acc5af89985d4b786 cha1 : 03de6c570bfe24bfc328ccd7ca46b76eadaf4334 crypt : $1$gc..pn4.$3wxI.PKcn.oGR6EsbNQeS0 rot13 : nopqr