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

Package | com.hurlant.crypto.prng
Class | public class ARC4
Inheritance | ARC4 Object
Implements | IPRNG, IStreamCipher

Public Methods

| Method | Defined By
--- | --- | ---
|  | ARC4(key:ByteArray = null) | ARC4
|  | decrypt(block:ByteArray):void | ARC4
|  | dispose():void | ARC4
|  | encrypt(block:ByteArray):void | ARC4
|  | getBlockSize():uint | ARC4
|  | getPoolSize():uint | ARC4
|  | init(key:ByteArray):void | ARC4
|  | next():uint | ARC4
|  | toString():String | ARC4

Constructor Detail

ARC4 | () | Constructor

`public function ARC4(key:ByteArray = null)`

Parameters

| `key:ByteArray` (default = `null`)``

Method Detail

decrypt | () | method

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

Parameters

| `block:ByteArray`

dispose | () | method |

`public function dispose():void`

encrypt | () | method |

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

Parameters

| `block:ByteArray`

getBlockSize | () | method |

`public function getBlockSize():uint`

Returns

| `uint`

getPoolSize | () | method |

`public function getPoolSize():uint`

Returns

| `uint`

init | () | method |

`public function init(key:ByteArray):void`

Parameters

| `key:ByteArray`

next | () | method |

`public function next():uint`

Returns

| `uint`

toString | () | method |

`public function toString():String`

Returns

| `String`

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