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 KiB9318

config.m4H A D05-Dec-20191.9 KiB5947

config.w32H A D05-Dec-20191.2 KiB3528

hash.cH A D05-Dec-201942.6 KiB1,5041,097

hash_adler32.cH A D05-Dec-20192.7 KiB8447

hash_crc32.cH A D05-Dec-20193.4 KiB10564

hash_fnv.cH A D05-Dec-20196 KiB234126

hash_gost.cH A D05-Dec-201911.2 KiB341272

hash_haval.cH A D05-Dec-201919 KiB552336

hash_joaat.cH A D05-Dec-20192.8 KiB10148

hash_md.cH A D05-Dec-201920.2 KiB708453

hash_ripemd.cH A D05-Dec-201924.3 KiB780492

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

hash_sha3.cH A D05-Dec-20198.4 KiB292225

hash_snefru.cH A D05-Dec-20195.9 KiB215161

hash_tiger.cH A D05-Dec-20197.6 KiB273215

hash_whirlpool.cH A D05-Dec-201915.7 KiB455322

package.xmlH A D05-Dec-20193.1 KiB9587

php_hash.hH A D05-Dec-20195.8 KiB178123

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.5 KiB6328

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