Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 05-Dec-2019 | - | ||||
tests/ | H | 05-Dec-2019 | - | |||
CREDITS | H A D | 05-Dec-2019 | 85 | 3 | 2 | |
README | H A D | 05-Dec-2019 | 490 | 20 | 12 | |
bench.php | H A D | 05-Dec-2019 | 1.9 KiB | 93 | 18 | |
config.m4 | H A D | 05-Dec-2019 | 1.2 KiB | 41 | 31 | |
config.w32 | H A D | 05-Dec-2019 | 753 | 24 | 19 | |
hash.c | H A D | 05-Dec-2019 | 39.8 KiB | 1,433 | 1,048 | |
hash_adler32.c | H A D | 05-Dec-2019 | 2.7 KiB | 83 | 46 | |
hash_crc32.c | H A D | 05-Dec-2019 | 3.4 KiB | 103 | 62 | |
hash_fnv.c | H A D | 05-Dec-2019 | 6 KiB | 230 | 122 | |
hash_gost.c | H A D | 05-Dec-2019 | 11.2 KiB | 339 | 270 | |
hash_haval.c | H A D | 05-Dec-2019 | 19 KiB | 552 | 336 | |
hash_joaat.c | H A D | 05-Dec-2019 | 2.8 KiB | 100 | 47 | |
hash_md.c | H A D | 05-Dec-2019 | 20.2 KiB | 705 | 450 | |
hash_ripemd.c | H A D | 05-Dec-2019 | 24.3 KiB | 776 | 488 | |
hash_sha.c | H A D | 05-Dec-2019 | 34.9 KiB | 1,123 | 713 | |
hash_sha3.c | H A D | 05-Dec-2019 | 6.6 KiB | 240 | 186 | |
hash_snefru.c | H A D | 05-Dec-2019 | 5.8 KiB | 214 | 160 | |
hash_tiger.c | H A D | 05-Dec-2019 | 7.6 KiB | 272 | 214 | |
hash_whirlpool.c | H A D | 05-Dec-2019 | 15.7 KiB | 454 | 321 | |
package.xml | H A D | 05-Dec-2019 | 3.1 KiB | 95 | 87 | |
php_hash.h | H A D | 05-Dec-2019 | 5.5 KiB | 171 | 118 | |
php_hash_adler32.h | H A D | 05-Dec-2019 | 1.8 KiB | 45 | 11 | |
php_hash_crc32.h | H A D | 05-Dec-2019 | 1.8 KiB | 46 | 12 | |
php_hash_crc32_tables.h | H A D | 05-Dec-2019 | 7.4 KiB | 150 | 119 | |
php_hash_fnv.h | H A D | 05-Dec-2019 | 2.9 KiB | 80 | 34 | |
php_hash_gost.h | H A D | 05-Dec-2019 | 1.7 KiB | 49 | 14 | |
php_hash_gost_tables.h | H A D | 05-Dec-2019 | 28.8 KiB | 278 | 276 | |
php_hash_haval.h | H A D | 05-Dec-2019 | 2.2 KiB | 60 | 30 | |
php_hash_joaat.h | H A D | 05-Dec-2019 | 1.7 KiB | 44 | 10 | |
php_hash_md.h | H A D | 05-Dec-2019 | 3.8 KiB | 101 | 34 | |
php_hash_ripemd.h | H A D | 05-Dec-2019 | 2.9 KiB | 67 | 36 | |
php_hash_sha.h | H A D | 05-Dec-2019 | 4.1 KiB | 106 | 55 | |
php_hash_sha3.h | H A D | 05-Dec-2019 | 2.4 KiB | 59 | 24 | |
php_hash_snefru.h | H A D | 05-Dec-2019 | 1.8 KiB | 52 | 13 | |
php_hash_snefru_tables.h | H A D | 05-Dec-2019 | 58.4 KiB | 943 | 866 | |
php_hash_tiger.h | H A D | 05-Dec-2019 | 1.9 KiB | 50 | 16 | |
php_hash_tiger_tables.h | H A D | 05-Dec-2019 | 41.4 KiB | 550 | 518 | |
php_hash_whirlpool.h | H A D | 05-Dec-2019 | 1.7 KiB | 49 | 15 | |
php_hash_whirlpool_tables.h | H A D | 05-Dec-2019 | 54 KiB | 586 | 545 |
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