Reply to Re: plain PHP implementation of hash function

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация