astro-ghostcms/.pnpm-store/v3/files/91/1f84555e4023cf4ccb3613f606e...

9 lines
267 B
Plaintext

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