Skip to main content
function getCiphers
getCiphers(): string[]
Deprecated
const {
  getCiphers,
} = await import('node:crypto');

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

Return Type

string[]

An array with the names of the supported cipher algorithms.

Back to top