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
Represents a symmetric encryption algorithm. Symmetric algorithms use the same key for both encryption and decryption.

Extends

  • BaseCryptoClass

Properties

AES128

readonly static AES128: "Aes128" = 'Aes128' Constant representing the AES-128 algorithm. AES-128 uses a 128-bit key length.

AES256

readonly static AES256: "Aes256" = 'Aes256' Constant representing the AES-256 algorithm. AES-256 uses a 256-bit key length.

Accessors

blockSize

Get Signature

get blockSize(): number Get the block size of the symmetric algorithm. The block size is the number of bits that the algorithm processes at a time.
Returns
number The block size in bytes (e.g., 16 for AES, which has a 128-bit block size).
Last modified on October 2, 2025