new HashingAlgorithm()
Hashing Algorithm. A common interface to interact with any system provided algorithms.
Methods
id() → {string}
return the symbolic name for the algorithm
Returns:
short id e.g.: sha512.
- Type
- string
needsSeparator() → {boolean}
Should the encoded string use the default separator to split fields.
Returns:
true by default.
- Type
- boolean
params() → {Array.<string>}
return the list of param names required for this algorithm.
Returns:
set of param names.
- Type
- Array.<string>