CipherInfo - Node documentation
interface CipherInfo

Usage in Deno

import { type CipherInfo } from "node:crypto";

Properties

name: string

The name of the cipher.

nid: number

The nid of the cipher.

optional
blockSize: number | undefined

The block size of the cipher in bytes. This property is omitted when mode is 'stream'.

optional
ivLength: number | undefined

The expected or default initialization vector length in bytes. This property is omitted if the cipher does not use an initialization vector.

keyLength: number

The expected or default key length in bytes.

The cipher mode.