public function HMAC(hash:IHash, bits:uint = 0)
Create a HMAC object, using a Hash function, and
optionally a number of bits to return.
The HMAC will be truncated to that size if needed.
Parameters
| hash:IHash |
| |
| bits:uint (default = 0) |
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
public function dispose():void
public function getHashSize():uint
Returns
public function toString():String
Returns