Interface CipherInfo

interface CipherInfo {
    blockSize?: number;
    ivLength?: number;
    keyLength: number;
    mode: CipherMode;
    name: string;
    nid: number;
}

Properties

blockSize?: number

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

ivLength?: number

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.

name: string

The name of the cipher.

nid: number

The nid of the cipher.