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

Package | com.hurlant.crypto.symmetric
Class | public class CBCMode
Inheritance | CBCMode IVMode Object
Implements | IMode

CBC confidentiality mode. why not.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | IV : ByteArray Optional function to force the IV value. | IVMode

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | blockSize : uint | IVMode
|  | iv : ByteArray | IVMode
|  | key : ISymmetricKey | IVMode
|  | lastIV : ByteArray | IVMode
|  | padding : IPad | IVMode
|  | prng : Random | IVMode

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

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

Protected Methods
Show Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | getIV4d():ByteArray | IVMode
|  | getIV4e():ByteArray | IVMode

Constructor Detail

CBCMode | () | Constructor

`public function CBCMode(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`

encrypt | () | method |

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

Parameters

| `src:ByteArray`

toString | () | method |

`public function toString():String`

Returns

| `String`

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