astro-ghostcms/.pnpm-store/v3/files/51/06d6e1092b29f0f90eabeb539c2...

7 lines
164 B
Plaintext

import { getCiphers } from 'node:crypto';
let ciphers;
export default (algorithm) => {
ciphers ||= new Set(getCiphers());
return ciphers.has(algorithm);
};