Class: HashingAlgorithm

vertx-auth-common-js/hashing_algorithm~ HashingAlgorithm

new HashingAlgorithm()

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

Methods

id() → {string}

return the symbolic name for the algorithm
Source:
Returns:
short id e.g.: sha512.
Type
string

needsSeparator() → {boolean}

Should the encoded string use the default separator to split fields.
Source:
Returns:
true by default.
Type
boolean

params() → {Array.<string>}

return the list of param names required for this algorithm.
Source:
Returns:
set of param names.
Type
Array.<string>