Name Date Size #Lines LOC

..05-Dec-2019-

tests/H05-Dec-2019-

CREDITSH A D05-Dec-201985 32

READMEH A D05-Dec-2019491 2012

bench.phpH A D05-Dec-20191.9 KiB9318

config.m4H A D05-Dec-20191.2 KiB4131

config.w32H A D05-Dec-2019752 2620

hash.cH A D05-Dec-201929.9 KiB1,113807

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-201910.7 KiB323256

hash_haval.cH A D05-Dec-201919.1 KiB552336

hash_joaat.cH A D05-Dec-20192.8 KiB10047

hash_md.cH A D05-Dec-201920.4 KiB705450

hash_ripemd.cH A D05-Dec-201924.5 KiB776488

hash_sha.cH A D05-Dec-201932.9 KiB1,045659

hash_snefru.cH A D05-Dec-20195.9 KiB214160

hash_tiger.cH A D05-Dec-20197.7 KiB272214

hash_whirlpool.cH A D05-Dec-201915.8 KiB454321

package.xmlH A D05-Dec-20193.2 KiB9688

php_hash.hH A D05-Dec-20195 KiB157105

php_hash_adler32.hH A D05-Dec-20191.8 KiB4511

php_hash_crc32.hH A D05-Dec-20191.9 KiB4612

php_hash_crc32_tables.hH A D05-Dec-20197.5 KiB150119

php_hash_fnv.hH A D05-Dec-20193 KiB8034

php_hash_gost.hH A D05-Dec-20191.7 KiB4813

php_hash_gost_tables.hH A D05-Dec-201914.5 KiB139138

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-20193 KiB6736

php_hash_sha.hH A D05-Dec-20193.8 KiB9849

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-20192 KiB5016

php_hash_tiger_tables.hH A D05-Dec-201941.5 KiB550518

php_hash_types.hH A D05-Dec-20192.1 KiB7239

php_hash_whirlpool.hH A D05-Dec-20191.7 KiB4915

php_hash_whirlpool_tables.hH A D05-Dec-201954.1 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