note 31479 added to function.sha1
| From: | bobm at hp dot com | Date: | Wed, 23 Apr 2003 14:12:52 +0000 |
| Subject: | note 31479 added to function.sha1 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46983@lists.php.net to get a copy of this message | ||
To achieve raw binary format prior to PHP5, you can do this...
$raw = pack("H*", sha1($str));
Regards,
Bob Mader
--
http://www.php.net/manual/en/function.sha1.php
http://master.php.net/manage/user-notes.php?action=edit+31479
http://master.php.net/manage/user-notes.php?action=delete+31479
http://master.php.net/manage/user-notes.php?action=reject+31479