ciphers.js 263 B

12345678
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const crypto_1 = require("crypto");
  4. let ciphers;
  5. exports.default = (algorithm) => {
  6. ciphers || (ciphers = new Set((0, crypto_1.getCiphers)()));
  7. return ciphers.has(algorithm);
  8. };