Encryption Options

interface Option {
    iv?: Buffer;
    nonce?: Buffer;
    padding?: Padding;
}

Properties

Properties

iv?: Buffer

Initialization vector

nonce?: Buffer

This parameter is valid only for the GCM algorithm.

padding?: Padding

Filling Mode