Interface HashInterface
Interface that allows implementing various incremental hashes.
Direct known implementers
Methods Summary
-
update ( string $data )
Adds data to the hash.
-
complete ( )
Finalizes the incremental hash and returns the resulting digest.
-
reset ( )
Removes all data from the hash, effectively starting a new hash.
Methods Details
update ( string $data )
Adds data to the hash.
Parameters
string | $data | Data to add to the hash |
string complete ( )
Finalizes the incremental hash and returns the resulting digest.
Returns
string |
reset ( )
Removes all data from the hash, effectively starting a new hash.