getCiphers

const {
getCiphers,
} = await import('node:crypto');

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

Since

v0.9.3

Return

An array with the names of the supported cipher algorithms.