Skip to main content

getCiphers

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

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

Return Type Jump to heading

string[]

An array with the names of the supported cipher algorithms.

Back to top