PHP Hash Algorithms

Testing 32 bytes of data over 1000 iterations

System Info (Localhost)

Ubuntu Release 10.10
Linux ubuntu 2.6.35-32-generic-pae
RAM 6GiB
4 cores Intel Core2 Quad CPU Q8300 @ 2.5GHz
Apache/2.2.16
PHP Version 5.3.3-1ubuntu9.10 - APC off

Time Values: round($time, 4) * 1000

Algorithm Characters Score / Time Output Hash
haval224,3 56 4.693 e9f4bec85cc860844ef6181e3c2a598533be9a0323127bc00ba8dd96
haval256,3 64 4.64 883802c869101b913b3766aeb2a951a7f7af02871e28b0aded55032b704f8939
haval128,4 32 5.146 eb704900f3d0142ff59b27be95cd74ed
haval160,4 40 5.173 341edd32a3ea8eabafec10d4c50422dab252332e
haval192,3 48 4.652 bcb6ca3a0809e6bf507113ff296e20b6ea9dd25f6ad940df
haval160,3 40 4.676 01b3e262709587826d087da4c7846ff7d498bbf5
crc32b 8 2.893 30cb6428
salsa10 128 3.758 57775c461e97fe59c98d5e179be709fca7fd981b639ffdc85b1e2459e0844eb0a698a041a5b2931c02b6f56bca7e276b3440ad0908cc3f07b947a6fd7b5ee286
salsa20 128 3.667 6d3e0dbc7f500ad7e173ce0fa9deab7f79a760651d1c602eb9cb97a89263b63719c985b2e998d4fddb1761d496022f5a6bbe062cb41753a26a2e9322c8c01dbb
haval128,3 32 4.637 98891849ae1b4d7e9c179498c3621a52
haval192,4 48 5.213 8abf43620a8885b17f9c60ae3f1730784cbe7a914bbe9a51
haval224,4 56 5.204 54944596457b677019faa92d44687425e29b7fc0cb5da4084a15b0b4
haval256,5 64 5.593 79699ee856311fa23c9891e2aa998a8a786f6fe0556f1f1eb43085a14b1b9d79
crc32() 9 2.36 818635816
md5() 32 2.724 04fdf30051fbf585ab2c96503b1ef33e
sha1() 40 3.127 04ac2fb57e6682054d22e08f1e160ba5b7cf89e3
haval224,5 56 5.52 03d1d71e194491fc1e8d938a1bc13e2083ebef5f989c1e91dc935379
haval192,5 48 5.55 81b5d844db4ac9fd726c9ba0f3447b50bdb2d88a01bbf14f
haval256,4 64 5.232 422b0bb5575740315e041d0e1d36af706a89879818062f9b061549af12358742
haval128,5 32 5.573 1f90d98bac4a2f26ffd7f77890f3f864
haval160,5 40 5.559 4bb6e9839d523526dcd9d87fc12b9324142bd3f7
crc32 8 2.928 118bf4b1
adler32 8 2.974 c1de0bb6
sha512 128 7.751 7925938e5823f1768708b9929e225efe4b6c451fc7fc5fd5d9db002d17bf853eada6d816fa17c75b34a6c492dc50f7c9fd396c85edc23be6cb9a9ded23e66f3a
ripemd128 32 3.515 6a1b27d879ea1f00e1753d4a1cec7b11
ripemd160 40 3.887 f188626f3aab5cffea75876b795cd0708dd85731
ripemd256 64 3.646 c538106daba4575718c930a1b521df4a72d7933cfd89778dc884a1fe212fecb9
sha384 96 7.675 db606a10f18b3b0132f0777a10cbc2ddccb8fbfe92817eed3c0a212d67e4e76f58b414e8f8769f01b0169c67c9bf8ac7
sha256 64 3.91 9e9da7dcfd2684404ac2405eb596744745359c0e505076d671c94760d7023bfe
md4 32 3.103 254e02a1b28be1f33a53d8c85aaad19e
md5 32 3.297 04fdf30051fbf585ab2c96503b1ef33e
sha1 40 3.46 04ac2fb57e6682054d22e08f1e160ba5b7cf89e3
sha224 56 3.858 8aaef90662dcb868d8f5cec7358dfa693c2318077b6ffb3f118b0028
ripemd320 80 3.921 9bd34f55bb932b7b0a80a018a3b9412240d369f5c6145d3b5382207df057f3fb97c7d3bd001c8af5
whirlpool 128 10.875 c635366eeb3ca6c3d765a5dd1835e48efea2f85898da84f18c9ece78c097e7ae72597b0c51cce2fd6d6fd3ff139b90d934b538690e57e6acc9913fd1f9a1b91a
tiger192,4 48 4.083 b38b7d8b2b4d1fed884bdc2c31d47d8e972b4a63dd0ae00b
snefru 64 7.605 c6a5d0650d975f969f4fa85800e7d2807dee594e4d70591b11a11cc91ce70629
snefru256 64 7.52 c6a5d0650d975f969f4fa85800e7d2807dee594e4d70591b11a11cc91ce70629
gost 64 5.993 0eb44c492b461dee6c024797cc24b209f418ad35c7145a9739971ea45ef07d84
tiger160,4 40 4.114 b38b7d8b2b4d1fed884bdc2c31d47d8e972b4a63
tiger128,4 32 4.145 b38b7d8b2b4d1fed884bdc2c31d47d8e
tiger128,3 32 3.736 2d55ca0015a299e06f3d7a1e8e5d6879
tiger160,3 40 3.725 2d55ca0015a299e06f3d7a1e8e5d6879174a198e
tiger192,3 48 3.761 2d55ca0015a299e06f3d7a1e8e5d6879174a198ecd3e6aee
md2 32 11.283 adf62ac14d427da2771e2b0e5a606871
Algorithm Characters Score / Time Output Hash


Valid Webs - Web Development