SDK for PHP 3.x

HashInterface
in

Interface that allows implementing various incremental hashes.

Table of Contents

Methods

complete()  : string
Finalizes the incremental hash and returns the resulting digest.
reset()  : mixed
Removes all data from the hash, effectively starting a new hash.
update()  : mixed
Adds data to the hash.

Methods

complete()

Finalizes the incremental hash and returns the resulting digest.

public complete() : string
Return values
string

reset()

Removes all data from the hash, effectively starting a new hash.

public reset() : mixed

update()

Adds data to the hash.

public update(string $data) : mixed
Parameters
$data : string

Data to add to the hash

On this page