Generated by JsDoc Toolkit 2.3.3-beta on Wed Nov 06 2013 17:43:36 GMT+0100 (MEZ)
HTML template: Codeview

Class sjcl.cipher.aes

Advanced Encryption Standard (low-level interface)
Defined in: aes.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Schedule out an AES key for both encryption and decryption.
Method Summary
Method Attributes Method Name and Description
 
decrypt(data)
Decrypt an array of 4 big-endian words.
 
encrypt(data)
Encrypt an array of 4 big-endian words.
Class Detail
sjcl.cipher.aes(key)
Schedule out an AES key for both encryption and decryption. This is a low-level class. Use a cipher mode to do bulk encryption.
Parameters:
{Array} key
The key as an array of 4, 6 or 8 words.
Method Detail
{Array} decrypt(data)
Decrypt an array of 4 big-endian words.
Parameters:
{Array} data
The ciphertext.
Returns:
{Array} The plaintext.
{Array} encrypt(data)
Encrypt an array of 4 big-endian words.
Parameters:
{Array} data
The plaintext.
Returns:
{Array} The ciphertext.