Name Date Size #Lines LOC

..05-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 KiB9318

config.m4H A D05-Dec-20191.2 KiB4131

config.w32H A D05-Dec-2019753 2419

hash.cH A D05-Dec-201939.8 KiB1,4331,048

hash_adler32.cH A D05-Dec-20192.7 KiB8346

hash_crc32.cH A D05-Dec-20193.4 KiB10362

hash_fnv.cH A D05-Dec-20196 KiB230122

hash_gost.cH A D05-Dec-201911.2 KiB339270

hash_haval.cH A D05-Dec-201919 KiB552336

hash_joaat.cH A D05-Dec-20192.8 KiB10047

hash_md.cH A D05-Dec-201920.2 KiB705450

hash_ripemd.cH A D05-Dec-201924.3 KiB776488

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

hash_sha3.cH A D05-Dec-20196.6 KiB240186

hash_snefru.cH A D05-Dec-20195.8 KiB214160

hash_tiger.cH A D05-Dec-20197.6 KiB272214

hash_whirlpool.cH A D05-Dec-201915.7 KiB454321

package.xmlH A D05-Dec-20193.1 KiB9587

php_hash.hH A D05-Dec-20195.5 KiB171118

php_hash_adler32.hH A D05-Dec-20191.8 KiB4511

php_hash_crc32.hH A D05-Dec-20191.8 KiB4612

php_hash_crc32_tables.hH A D05-Dec-20197.4 KiB150119

php_hash_fnv.hH A D05-Dec-20192.9 KiB8034

php_hash_gost.hH A D05-Dec-20191.7 KiB4914

php_hash_gost_tables.hH A D05-Dec-201928.8 KiB278276

php_hash_haval.hH A D05-Dec-20192.2 KiB6030

php_hash_joaat.hH A D05-Dec-20191.7 KiB4410

php_hash_md.hH A D05-Dec-20193.8 KiB10134

php_hash_ripemd.hH A D05-Dec-20192.9 KiB6736

php_hash_sha.hH A D05-Dec-20194.1 KiB10655

php_hash_sha3.hH A D05-Dec-20192.4 KiB5924

php_hash_snefru.hH A D05-Dec-20191.8 KiB5213

php_hash_snefru_tables.hH A D05-Dec-201958.4 KiB943866

php_hash_tiger.hH A D05-Dec-20191.9 KiB5016

php_hash_tiger_tables.hH A D05-Dec-201941.4 KiB550518

php_hash_whirlpool.hH A D05-Dec-20191.7 KiB4915

php_hash_whirlpool_tables.hH A D05-Dec-201954 KiB586545

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