| 
	
 | 
 Posted by Andy Hassall on 10/07/06 22:58 
On 7 Oct 2006 15:48:20 -0700, voipfc@googlemail.com wrote: 
 
> 
>petersprc@gmail.com wrote: 
>> PHP has a number of hash functions built-in. For example: 
>> 
>>     md5, md5_file, sha1, sha1_file, crc32 
>> 
>> PECL has additional algorithms listed here: 
>> 
>>     http://us3.php.net/manual/en/function.hash-algos.php 
>> 
>> Was there a specific algorithm you needed? 
> 
>I need an sha1 version, the built-in one causes apache to GPF in 
>windows 
 
 The user notes in the manual have a pure-PHP implementation of SHA1, if you 
want to use that. http://uk2.php.net/sha1 (It'll be somewhat slower...) 
 
 What version of PHP are you using? sha1() doesn't crash here (PHP 5.1.6 on 
Windows). 
 
--  
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk 
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
 
  
Navigation:
[Reply to this message] 
 |