UNPKG

ltijs

Version:

Easily turn your web application into a LTI 1.3 Learning Tool.

12 lines • 437 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.randomUuid = randomUuid; exports.randomJti = randomJti; const node_crypto_1 = require("node:crypto"); function randomUuid() { return (0, node_crypto_1.randomUUID)(); } function randomJti() { return encodeURIComponent(Array.from({ length: 25 }, () => (0, node_crypto_1.randomInt)(36).toString(36)).join('')); } //# sourceMappingURL=random.js.map