"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRandomString = getRandomString;
const getRandomCharInSet_1 = require("./getRandomCharInSet");
function getRandomString(generator) {
    let s = '';
    for (let i = 0; i < generator.len; i++) {
        s = s + (0, getRandomCharInSet_1.getRandomCharInSet)(generator.charset);
    }
    return s;
}
//# sourceMappingURL=getRandomString.js.map