- Source:
Namespaces
- listeners
- A namespace for event listeners for DOM elements.
- togglers
- A namespace for functions to "toggle" certain UI elements.
Methods
-
(static) configure(options, params) → {undefined}
Function to configure all the elements of the DOM for the url in question. This is the "entry" point to the algorithm, which sets the stage for generating the "pseudo" password, as well as for returning the payload to the main routine.
-
Parameters:
Name Type Description optionsobject General options to the algorithm, independent of the url. paramsobject Parameters specific to the url. It is expected to have the following properties: - Source:
Properties:
Name Type Description params.urlstring The site url, params.defaultIterationsint The default number of PBKDF2 iterations, params.saltKeystring The saved key for generating the salt from the domain name, params.encodedAttributesListstring The saved attributes list for all sites. Returns:
- Type
- undefined
-
(static) deconfigure() → {undefined}
Function to "deconfigure" the DOM so that it is ready for a new set of inputs.
-
- Source:
Returns:
- Type
- undefined