Name Date Size #Lines LOC

..05-Dec-2019-

sha3/H05-Dec-2019-

tests/H05-Dec-2019-

CREDITSH A D05-Dec-201985 32

READMEH A D05-Dec-2019490 2012

bench.phpH A D05-Dec-20191.9 KiB9218

config.m4H A D05-Dec-20191.9 KiB5846

config.w32H A D05-Dec-20191.2 KiB3427

hash.cH A D05-Dec-201942.7 KiB1,5041,099

hash_adler32.cH A D05-Dec-20192.7 KiB8247

hash_crc32.cH A D05-Dec-20193.4 KiB10364

hash_fnv.cH A D05-Dec-20196 KiB235130

hash_gost.cH A D05-Dec-201911.2 KiB339272

hash_haval.cH A D05-Dec-201919 KiB550336

hash_joaat.cH A D05-Dec-20192.8 KiB9948

hash_md.cH A D05-Dec-201920.2 KiB703450

hash_ripemd.cH A D05-Dec-201924.3 KiB778492

hash_sha.cH A D05-Dec-201934.9 KiB1,125717

hash_sha3.cH A D05-Dec-20198.4 KiB292225

hash_snefru.cH A D05-Dec-20195.9 KiB213161

hash_tiger.cH A D05-Dec-20197.6 KiB271215

hash_whirlpool.cH A D05-Dec-201915.7 KiB453322

php_hash.hH A D05-Dec-20195.8 KiB176123

php_hash_adler32.hH A D05-Dec-20191.8 KiB4311

php_hash_crc32.hH A D05-Dec-20191.8 KiB4412

php_hash_crc32_tables.hH A D05-Dec-20197.4 KiB148119

php_hash_fnv.hH A D05-Dec-20192.9 KiB7834

php_hash_gost.hH A D05-Dec-20191.7 KiB4714

php_hash_gost_tables.hH A D05-Dec-201928.8 KiB278276

php_hash_haval.hH A D05-Dec-20192.2 KiB5830

php_hash_joaat.hH A D05-Dec-20191.7 KiB4210

php_hash_md.hH A D05-Dec-20193.8 KiB9934

php_hash_ripemd.hH A D05-Dec-20192.9 KiB6536

php_hash_sha.hH A D05-Dec-20194.1 KiB10455

php_hash_sha3.hH A D05-Dec-20192.5 KiB6328

php_hash_snefru.hH A D05-Dec-20191.8 KiB5013

php_hash_snefru_tables.hH A D05-Dec-201958.4 KiB941866

php_hash_tiger.hH A D05-Dec-20191.9 KiB4816

php_hash_tiger_tables.hH A D05-Dec-201941.4 KiB548518

php_hash_whirlpool.hH A D05-Dec-20191.7 KiB4715

php_hash_whirlpool_tables.hH A D05-Dec-201954 KiB584545

README

1Generic hashing framework for PHP
2
3Simplest usages:
4
5$digest = hash($algoname, $message);
6$digest = hash_file($algoname, $filename);
7
8Examples:
9
10$digest = hash('md5', 'The quick brown fox jumped over the lazy dog.');
11
12Feeder usage:
13
14$context = hash_init($algoname);
15hash_update($context, $message);
16$digest = hash_final($context);
17
18hash(), hash_file(), and hash_final() each support an optional boolean parameter $raw_output which behaves in the same
19manner as sha1()'s optional parameter.
20