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

Package | com.hurlant.crypto.prng
Class | public class TLSPRF
Inheritance | TLSPRF Object

There's "Random", and then there's TLS Random. . Still Pseudo-random, though.

Public Methods

| Method | Defined By
--- | --- | ---
|  | TLSPRF(secret:ByteArray, label:String, seed:ByteArray) | TLSPRF
|  | dispose():void | TLSPRF
|  | nextByte():int | TLSPRF
|  | nextBytes(buffer:IDataOutput, length:int):void | TLSPRF
|  | toString():String | TLSPRF

Constructor Detail

TLSPRF | () | Constructor

`public function TLSPRF(secret:ByteArray, label:String, seed:ByteArray)`

Parameters

| `secret:ByteArray`
| `label:String`
| `seed:ByteArray`

Method Detail

dispose | () | method

`public function dispose():void`

nextByte | () | method |

`public function nextByte():int`

Returns

| `int`

nextBytes | () | method |

`public function nextBytes(buffer:IDataOutput, length:int):void`

Parameters

| `buffer:IDataOutput`
| `length:int`

toString | () | method |

`public function toString():String`

Returns

| `String`

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