function getCiphers
Usage in Deno
```typescript import { getCiphers } from "node:node__tls.d.ts"; ```
getCiphers(): string[]
Returns an array with the names of the supported TLS ciphers. The names are
lower-case for historical reasons, but must be uppercased to be used in
the `ciphers` option of `[createSecureContext](../.././node__tls.d.ts/~/createSecureContext)`.
Not all supported ciphers are enabled by default. See
[Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v22.x/api/tls.html#modifying-the-default-tls-cipher-suite).
Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for
TLSv1.2 and below.
```js
console.log(tls.getCiphers()); // ['aes128-gcm-sha256', 'aes128-sha', ...]
```
string[]