4
* An ActionScript 3 interface for HMAC & MAC
7
* Loosely copyrighted by Bobby Parker
9
* See LICENSE.txt for full license information.
11
package com.hurlant.crypto.hash
13
import flash.utils.ByteArray;
15
public interface IHMAC
17
function getHashSize():uint;
19
* Compute a HMAC using a key and some data.
20
* It doesn't modify either, and returns a new ByteArray with the HMAC value.
22
function compute(key:ByteArray, data:ByteArray):ByteArray;
23
function dispose():void;
24
function toString():String;
b'\\ No newline at end of file'