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

Package | com.hurlant.crypto.tls
Class | public class MACs
Inheritance | MACs Object

Public Methods

| Method | Defined By
--- | --- | ---
|  | getHashSize(hash:uint):uint [static] | MACs
|  | getHMAC(hash:uint):HMAC [static] | MACs
|  | getMAC(hash:uint):MAC [static] | MACs
|  | getPadSize(hash:uint):int [static] | MACs

Public Constants

| Constant | Defined By
--- | --- | ---
|  | MD5 : uint = 1 [static] | MACs
|  | NULL : uint = 0 [static] | MACs
|  | SHA1 : uint = 2 [static] | MACs

Method Detail

getHashSize | () | method

`public static function getHashSize(hash:uint):uint`

Parameters

| `hash:uint`

Returns

| `uint`

getHMAC | () | method |

`public static function getHMAC(hash:uint):HMAC`

Parameters

| `hash:uint`

Returns

| `HMAC`

getMAC | () | method |

`public static function getMAC(hash:uint):MAC`

Parameters

| `hash:uint`

Returns

| `MAC`

getPadSize | () | method |

`public static function getPadSize(hash:uint):int`

Parameters

| `hash:uint`

Returns

| `int`

Constant Detail

MD5 | Constant

`public static const MD5:uint = 1`

NULL | Constant |

`public static const NULL:uint = 0`

SHA1 | Constant |

`public static const SHA1:uint = 2`

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