View Full Version : Generate SHA256 in php4
esytiger
11-10-2007, 03:26 PM
Hello all
How can I generate the SHA256 of a string in php4 ?
Regards
Inigoesdr
11-10-2007, 03:32 PM
Use the PECL hash extension (http://pecl.php.net/package/hash). A quick Google search using your question also yielded this set of classes (http://forums.devnetwork.net/viewtopic.php?t=32334). By the way, you can avoid all of this by just upgrading to PHP5 since it's included by default, and PHP4's end of life is in just over 7 weeks.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.