FgetCiphers
Bun

function

crypto.getCiphers

function getCiphers(): string[];
const {
  getCiphers,
} = await import('node:crypto');

console.log(getCiphers()); // ['aes-128-cbc', 'aes-128-ccm', ...]
@returns

An array with the names of the supported cipher algorithms.