getCiphers - Node documentation
function getCiphers

Usage in Deno

import { getCiphers } from "node:crypto";
getCiphers(): string[]
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.