HashingAlgorithm

Hashing Algorithm. A common interface to interact with any system provided algorithms.

package

Default

Methods

__construct

__construct() 

return the symbolic name for the algorithm

id() : string

Response

string

short id e.g.: sha512.

Should the encoded string use the default separator to split fields.

needsSeparator() : boolean

Response

boolean

true by default.

return the list of param names required for this algorithm.

params() : array

Response

array

set of param names.