CipherParamOptions: { algorithm?: "aes"; key: CipherKeyParam; keyLength?: number; mode?: "cbc" }

Contains the properties used to generate a CipherParams object.

Type declaration

  • Optional algorithm?: "aes"

    The algorithm to use for encryption. Only AES is supported.

  • key: CipherKeyParam

    The private key used to encrypt and decrypt payloads.

  • Optional keyLength?: number

    The length of the key in bits; for example 128 or 256.

  • Optional mode?: "cbc"

    The cipher mode. Only CBC is supported.

Generated using TypeDoc