Closure Library API Documentation
Go to class or file:
aes.js
No description.
Useful links
http://en.wikipedia.org/wiki/Advanced_Encryption_Standard
">Also See:
Source Code
Git
File Location
/goog/crypt/aes.js
Classes
goog.crypt.Aes
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.
Public
Protected
Private
Global Functions
goog.crypt.Aes.
assertKeyArray_
(
arr
)
Asserts that the key's array of integers is in the correct format.
Arguments:
arr
:
!
Array
.<
number
>
AES key as array of integers.
code »
Directory crypt
File Reference