Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
Provides support for building CBC (Cipher Block Chaining) cipher contexts.

Extends

Accessors

iv

Set Signature

set iv(iv): void Specify the initialization vector (IV) to use.
Remarks
This parameter is mandatory.
Parameters
iv
ArrayBuffer The initialization vector to use.
Returns
void

ivSize

Get Signature

get ivSize(): number Get the size of the initialization vector (IV) for the CBC cipher.
Throws
InvalidArgumentError If the IV has an invalid length.
Returns
number The size of the IV in bytes.
Last modified on October 2, 2025