ActionScript 3 Cryptography Library | All Packages | All Classes | Index | Frames No Frames |
ISymmetricKey

Package | com.hurlant.crypto.symmetric
Interface | public interface ISymmetricKey
Implementors | AESKey, BlowFishKey, DESKey, XTeaKey

Public Methods

| Method | Defined By
--- | --- | ---
|  | decrypt(block:ByteArray, index:uint = 0):void Decrypt one block of data in "block", starting at "index", of length "getBlockSize()" | ISymmetricKey
|  | dispose():void Attempts to destroy sensitive information from memory, such as encryption keys. | ISymmetricKey
|  | encrypt(block:ByteArray, index:uint = 0):void Encrypt one block of data in "block", starting at "index", of length "getBlockSize()" | ISymmetricKey
|  | getBlockSize():uint Returns the block size used by this particular encryption algorithm | ISymmetricKey
|  | toString():String | ISymmetricKey

Method Detail

decrypt | () | method

`public function decrypt(block:ByteArray, index:uint = 0):void`

Decrypt one block of data in "block", starting at "index", of length "getBlockSize()"

Parameters

| `block:ByteArray`
| `index:uint` (default = `0`)``

dispose | () | method |

`public function dispose():void`

Attempts to destroy sensitive information from memory, such as encryption keys. Note: This is not guaranteed to work given the Flash sandbox model.

encrypt | () | method |

`public function encrypt(block:ByteArray, index:uint = 0):void`

Encrypt one block of data in "block", starting at "index", of length "getBlockSize()"

Parameters

| `block:ByteArray`
| `index:uint` (default = `0`)``

getBlockSize | () | method |

`public function getBlockSize():uint`

Returns the block size used by this particular encryption algorithm

Returns

| `uint`

toString | () | method |

`public function toString():String`

Returns

| `String`

Mon May 20 2013, 09:16 PM +02:00