You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 rivejä
925 B

  1. var v1 = require('./src/v1');
  2. var v2 = require('./src/v2');
  3. var pbkdf2 = require('./src/pbkdf2');
  4. module.exports = {
  5. encryptLogin: v1.encryptLogin,
  6. renderPassword: v1.renderPassword,
  7. createFingerprint: v1.createFingerprint,
  8. _deriveEncryptedLogin: v1._deriveEncryptedLogin,
  9. _getPasswordTemplate: v1._getPasswordTemplate,
  10. _prettyPrint: v1._prettyPrint,
  11. _string2charCodes: v1._string2charCodes,
  12. _getCharType: v1._getCharType,
  13. _getPasswordChar: v1._getPasswordChar,
  14. _createHmac: v1._createHmac,
  15. generatePassword: v2.generatePassword,
  16. _calcEntropy: v2._calcEntropy,
  17. _consumeEntropy: v2._consumeEntropy,
  18. _getSetOfCharacters: v2._getSetOfCharacters,
  19. _getConfiguredRules: v2._getConfiguredRules,
  20. _insertStringPseudoRandomly: v2._insertStringPseudoRandomly,
  21. _getOneCharPerRule: v2._getOneCharPerRule,
  22. _renderPassword: v2._renderPassword,
  23. pbkdf2: pbkdf2
  24. };