Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 05-Dec-2019 | - | ||||
sha3/ | H | 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 | 92 | 18 | |
config.m4 | H A D | 05-Dec-2019 | 1.9 KiB | 58 | 46 | |
config.w32 | H A D | 05-Dec-2019 | 1.2 KiB | 34 | 27 | |
hash.c | H A D | 05-Dec-2019 | 42.7 KiB | 1,504 | 1,099 | |
hash_adler32.c | H A D | 05-Dec-2019 | 2.7 KiB | 82 | 47 | |
hash_crc32.c | H A D | 05-Dec-2019 | 3.4 KiB | 103 | 64 | |
hash_fnv.c | H A D | 05-Dec-2019 | 6 KiB | 235 | 130 | |
hash_gost.c | H A D | 05-Dec-2019 | 11.2 KiB | 339 | 272 | |
hash_haval.c | H A D | 05-Dec-2019 | 19 KiB | 550 | 336 | |
hash_joaat.c | H A D | 05-Dec-2019 | 2.8 KiB | 99 | 48 | |
hash_md.c | H A D | 05-Dec-2019 | 20.2 KiB | 703 | 450 | |
hash_ripemd.c | H A D | 05-Dec-2019 | 24.3 KiB | 778 | 492 | |
hash_sha.c | H A D | 05-Dec-2019 | 34.9 KiB | 1,125 | 717 | |
hash_sha3.c | H A D | 05-Dec-2019 | 8.4 KiB | 292 | 225 | |
hash_snefru.c | H A D | 05-Dec-2019 | 5.9 KiB | 213 | 161 | |
hash_tiger.c | H A D | 05-Dec-2019 | 7.6 KiB | 271 | 215 | |
hash_whirlpool.c | H A D | 05-Dec-2019 | 15.7 KiB | 453 | 322 | |
php_hash.h | H A D | 05-Dec-2019 | 5.8 KiB | 176 | 123 | |
php_hash_adler32.h | H A D | 05-Dec-2019 | 1.8 KiB | 43 | 11 | |
php_hash_crc32.h | H A D | 05-Dec-2019 | 1.8 KiB | 44 | 12 | |
php_hash_crc32_tables.h | H A D | 05-Dec-2019 | 7.4 KiB | 148 | 119 | |
php_hash_fnv.h | H A D | 05-Dec-2019 | 2.9 KiB | 78 | 34 | |
php_hash_gost.h | H A D | 05-Dec-2019 | 1.7 KiB | 47 | 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 | 58 | 30 | |
php_hash_joaat.h | H A D | 05-Dec-2019 | 1.7 KiB | 42 | 10 | |
php_hash_md.h | H A D | 05-Dec-2019 | 3.8 KiB | 99 | 34 | |
php_hash_ripemd.h | H A D | 05-Dec-2019 | 2.9 KiB | 65 | 36 | |
php_hash_sha.h | H A D | 05-Dec-2019 | 4.1 KiB | 104 | 55 | |
php_hash_sha3.h | H A D | 05-Dec-2019 | 2.5 KiB | 63 | 28 | |
php_hash_snefru.h | H A D | 05-Dec-2019 | 1.8 KiB | 50 | 13 | |
php_hash_snefru_tables.h | H A D | 05-Dec-2019 | 58.4 KiB | 941 | 866 | |
php_hash_tiger.h | H A D | 05-Dec-2019 | 1.9 KiB | 48 | 16 | |
php_hash_tiger_tables.h | H A D | 05-Dec-2019 | 41.4 KiB | 548 | 518 | |
php_hash_whirlpool.h | H A D | 05-Dec-2019 | 1.7 KiB | 47 | 15 | |
php_hash_whirlpool_tables.h | H A D | 05-Dec-2019 | 54 KiB | 584 | 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