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

Package | com.hurlant.crypto.symmetric
Class | public class ECBMode
Inheritance | ECBMode Object
Implements | IMode, ICipher

ECB mode. This uses a padding and a symmetric key. If no padding is given, PKCS#5 is used.

Public Methods

| Method | Defined By
--- | --- | ---
|  | ECBMode(key:ISymmetricKey, padding:IPad = null) | ECBMode
|  | decrypt(src:ByteArray):void | ECBMode
|  | dispose():void | ECBMode
|  | encrypt(src:ByteArray):void | ECBMode
|  | getBlockSize():uint | ECBMode
|  | toString():String | ECBMode

Constructor Detail

ECBMode | () | Constructor

`public function ECBMode(key:ISymmetricKey, padding:IPad = null)`

Parameters

| `key:ISymmetricKey`
| `padding:IPad` (default = `null`)``

Method Detail

decrypt | () | method

`public function decrypt(src:ByteArray):void`

Parameters

| `src:ByteArray`

dispose | () | method |

`public function dispose():void`

encrypt | () | method |

`public function encrypt(src:ByteArray):void`

Parameters

| `src:ByteArray`

getBlockSize | () | method |

`public function getBlockSize():uint`

Returns

| `uint`

toString | () | method |

`public function toString():String`

Returns

| `String`

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