ExPassword.Registry (expassword v0.2.0) View Source
Functions to register new algorithms to ExPassword and to know which hashing methods are available.
Link to this section Summary
Functions
Returns the list of the modules that currently are enabled and provide support to ExPassword for a hashing method
Register a new algorithm (a module which implements ExPassword.Algorithm
)
Returns true
if algorithm is currently registered as an active hashing method to ExPassword
Link to this section Functions
Specs
available_algorithms() :: [ExPassword.algorithm()]
Returns the list of the modules that currently are enabled and provide support to ExPassword for a hashing method
Specs
register_algorithm(algorithm :: ExPassword.algorithm()) :: :ok
Register a new algorithm (a module which implements ExPassword.Algorithm
)
Specs
supported_algorithm?(algorithm :: ExPassword.algorithm()) :: boolean()
Returns true
if algorithm is currently registered as an active hashing method to ExPassword