UNPKG

arc4

Version:
22 lines (14 loc) 553 B
"use strict"; var min = __dirname + "/min/lib/", minNormal = min + "normal/index.js", minLodash = min + "lodash/index.js"; function arc4(algorithm, password, lodash) { return lodash ? require(minLodash)(algorithm, password) : require(minNormal)(algorithm, password); } module.exports = arc4; function normal(algorithm, password) { return require(minNormal)(algorithm, password); } module.exports.normal = normal; function lodash(algorithm, password) { return require(minLodash)(algorithm, password); } module.exports.lodash = lodash;