outers
Version:
outers - a all in one package for your day to day use
24 lines • 1.5 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.cipherList = exports.todayDate = void 0;
// import Uniquegen
const NumFunction_1 = __importDefault(require("../../UniqueGen/Function/NumFunction")); // Import Number Generator
const MixedFunction_1 = __importDefault(require("../../UniqueGen/Function/MixedFunction")); // Import Mixed Generator
const BooleanFunction_1 = __importDefault(require("../../UniqueGen/Function/BooleanFunction")); // Import Boolean Generator
// Current Time
exports.todayDate = `${new Date().getDate()}-${new Date().getMonth()}-${new Date().getFullYear()} ${new Date().getHours()}:${new Date().getMinutes()}:${new Date().getSeconds()}`;
// cipherList List for destroying the token
exports.cipherList = (() => {
let NumberCiphers = (0, NumFunction_1.default)(2, false); // Create the number of ciphers
const cipherList = []; // Create the cipherList
// Inserting the ciphers into the cipherList
do {
cipherList.push((0, MixedFunction_1.default)((0, NumFunction_1.default)(2, false), (0, BooleanFunction_1.default)())); // Inserting the ciphers into the cipherList
NumberCiphers--; // Decrease the number of ciphers
} while (NumberCiphers != 0);
return cipherList; // Return the cipherList
})(); // Create the cipher list
//# sourceMappingURL=JWT.Constant.js.map