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

SymmetricAlgorithm

Represents a symmetric encryption algorithm. Symmetric algorithms use the same key for both encryption and decryption.

Extends

  • BaseCryptoClass

Constructors

new SymmetricAlgorithm()

new SymmetricAlgorithm(): SymmetricAlgorithm

Returns

SymmetricAlgorithm

Properties

AES128

static readonly AES128: "Aes128" = 'Aes128'

Constant representing the AES-128 algorithm. AES-128 uses a 128-bit key length.


AES256

static readonly AES256: "Aes256" = 'Aes256'

Constant representing the AES-256 algorithm. AES-256 uses a 256-bit key length.


Last updated: Jul 22, 2026