\Dalenys_Api_Hash_Parameters

Compute a hash from Dalenys parameters

Summary

Methods
Properties
Constants
compute()
checkHash()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

compute()

compute(string  $password, array  $data = array()) : string

Compute a HASH from an array

Parameters

string $password

The secret key

array $data

Returns

string

checkHash()

checkHash(  $password, array  $params = array()) : boolean

Verify an array containing a HASH parameter

Parameters

$password

The secret key

array $params

The parameters (should include a HASH parameter)

Returns

boolean