| Method | Defined By | ||
|---|---|---|---|
Create a MAC object (for SSL 3.0 ) and
optionally a number of bits to return. | MAC | ||
compute(key:ByteArray, data:ByteArray):ByteArray
Compute a MAC using a key and some data. | MAC | ||
dispose():void | MAC | ||
getHashSize():uint | MAC | ||
setPadSize(pad_size:int):void | MAC | ||
toString():String | MAC | ||
| MAC | () | Constructor |
public function MAC(hash:IHash, bits:uint = 0)Create a MAC object (for SSL 3.0 ) and optionally a number of bits to return. The MAC will be truncated to that size if needed.
Parametershash:IHash | |
bits:uint (default = 0) |
| compute | () | method |
public function compute(key:ByteArray, data:ByteArray):ByteArrayCompute a MAC using a key and some data.
Parameters
key:ByteArray | |
data:ByteArray |
ByteArray |
| dispose | () | method |
public function dispose():void| getHashSize | () | method |
public function getHashSize():uintReturnsuint |
| setPadSize | () | method |
public function setPadSize(pad_size:int):voidParameters
pad_size:int |
| toString | () | method |
public function toString():StringReturnsString |