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 | 93 | 18 | |
config.m4 | H A D | 05-Dec-2019 | 1.9 KiB | 59 | 47 | |
config.w32 | H A D | 05-Dec-2019 | 1.2 KiB | 35 | 28 | |
hash.c | H A D | 05-Dec-2019 | 42.6 KiB | 1,504 | 1,097 | |
hash_adler32.c | H A D | 05-Dec-2019 | 2.7 KiB | 84 | 47 | |
hash_crc32.c | H A D | 05-Dec-2019 | 3.4 KiB | 105 | 64 | |
hash_fnv.c | H A D | 05-Dec-2019 | 6 KiB | 234 | 126 | |
hash_gost.c | H A D | 05-Dec-2019 | 11.2 KiB | 341 | 272 | |
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 | 101 | 48 | |
hash_md.c | H A D | 05-Dec-2019 | 20.2 KiB | 708 | 453 | |
hash_ripemd.c | H A D | 05-Dec-2019 | 24.3 KiB | 780 | 492 | |
hash_sha.c | H A D | 05-Dec-2019 | 34.9 KiB | 1,130 | 720 | |
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 | 215 | 161 | |
hash_tiger.c | H A D | 05-Dec-2019 | 7.6 KiB | 273 | 215 | |
hash_whirlpool.c | H A D | 05-Dec-2019 | 15.7 KiB | 455 | 322 | |
package.xml | H A D | 05-Dec-2019 | 3.1 KiB | 95 | 87 | |
php_hash.h | H A D | 05-Dec-2019 | 5.8 KiB | 178 | 123 | |
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.5 KiB | 63 | 28 | |
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