Skip to main content
CipherInfo - node__crypto.d.ts - Node documentation
interface CipherInfo

Usage in Deno

```typescript import { type CipherInfo } from "node:node__crypto.d.ts"; ```

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.