Files
Webklar.com/node_modules/jose/dist/node/cjs/runtime/ciphers.js
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

9 lines
263 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const crypto_1 = require("crypto");
let ciphers;
exports.default = (algorithm) => {
ciphers || (ciphers = new Set((0, crypto_1.getCiphers)()));
return ciphers.has(algorithm);
};