var v1 = require('./src/v1'); var v2 = require('./src/v2'); var pbkdf2 = require('./src/pbkdf2'); module.exports = { encryptLogin: v1.encryptLogin, renderPassword: v1.renderPassword, createFingerprint: v1.createFingerprint, _deriveEncryptedLogin: v1._deriveEncryptedLogin, _getPasswordTemplate: v1._getPasswordTemplate, _prettyPrint: v1._prettyPrint, _string2charCodes: v1._string2charCodes, _getCharType: v1._getCharType, _getPasswordChar: v1._getPasswordChar, _createHmac: v1._createHmac, generatePassword: v2.generatePassword, _calcEntropy: v2._calcEntropy, _consumeEntropy: v2._consumeEntropy, _getSetOfCharacters: v2._getSetOfCharacters, _getConfiguredRules: v2._getConfiguredRules, _insertStringPseudoRandomly: v2._insertStringPseudoRandomly, _getOneCharPerRule: v2._getOneCharPerRule, _renderPassword: v2._renderPassword, pbkdf2: pbkdf2 };