search

goog.crypt.Aes

Provided By
All Implemented Interfaces

Implementation of AES in JavaScript. See http://en.wikipedia.org/wiki/Advanced_Encryption_Standard

WARNING: This is ECB mode only. If you are encrypting something longer than 16 bytes, or encrypting more than one value with the same key (so basically, always) you need to use this with a block cipher mode of operation. See goog.crypt.Cbc.

See http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation for more information.

new Aes( key )

Parameters
keyArray<number>

The key as an array of integers in {0, 255}. The key must have lengths of 16, 24, or 32 integers for 128-, 192-, or 256-bit encryption, respectively.

Instance Methods

Instance Properties

Compiler Constants