How to use incremental hashing and add string into an active hashing in PHP

1 Answer

0 votes
$hi = hash_init('md5');
hash_update($hi, 'hashing algorithm ');
hash_update($hi, 'md5, sha256');
echo hash_final($hi);


/*
run:

170c485e858c56b675cfcf2ea04f37a5

*/

 



answered Jun 27, 2016 by avibootz

Related questions

...