but hash a big file ,
example:23KB:
hash
1.2369749546051: md4
1.5122809410095: md5
7.1646420955658: adler32
3.1666488647461: crc32
0.018635988235474: crc32b
2.4434490203857: sha1
=========>>
1.5402789115906: md5
2.4519650936127: sha1
![]() |
|
||||||||||
|
hashСписок параметров
Возвращаемые значения
Returns a string containing the calculated message digest as lowercase hexits
unless hash
mysteryboy
03-Aug-2007 07:33
but hash a big file ,
dani88elx at gmail dot com
26-Jun-2007 08:06
Comparison between hash algorithms.
just me
10-Apr-2007 03:02
The speed difference (as noted in a below posting) between md5() and hash() goes down to zero with strings longer than just a few bytes. With a string length of 1kB the difference is 10% advantage for hash() and shrinks further down to 3% with 10kB strings.
mikael at webhost3 dot eu
10-Mar-2007 05:34
<?php
Peter Kelly
29-Jan-2007 04:32
If the hash functions are not available to you at the moment, and you want to future proof your code, then the code below will emulate two of the important hashing functions, they will also be automatically replaced with the faster versions if available. |