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

Package | com.hurlant.crypto.hash
Interface | public interface IHMAC
Implementors | HMAC, MAC

Public Methods

| Method | Defined By
--- | --- | ---
|  | compute(key:ByteArray, data:ByteArray):ByteArray Compute a HMAC using a key and some data. | IHMAC
|  | dispose():void | IHMAC
|  | getHashSize():uint | IHMAC
|  | toString():String | IHMAC

Method Detail

compute | () | method

`public function compute(key:ByteArray, data:ByteArray):ByteArray`

Compute a HMAC using a key and some data. It doesn't modify either, and returns a new ByteArray with the HMAC value.

Parameters

| `key:ByteArray`
| `data:ByteArray`

Returns

| `ByteArray`

dispose | () | method |

`public function dispose():void`

getHashSize | () | method |

`public function getHashSize():uint`

Returns

| `uint`

toString | () | method |

`public function toString():String`

Returns

| `String`

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