Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AesCbcEncryptParameters

Package version

Encryption parameters for AES-CBC encryption algorithms.

Hierarchy

  • AesCbcEncryptParameters

Index

Properties

Properties

algorithm

The encryption algorithm to use.

Optional iv

iv: Uint8Array

The initialization vector used for encryption. If omitted we will attempt to generate an IV using crypto's randomBytes functionality. An error will be thrown if creating an IV fails, and you may recover by passing in your own cryptographically secure IV.

plaintext

plaintext: Uint8Array

The plain text to encrypt.

Generated using TypeDoc