20 lines
415 B
ActionScript
20 lines
415 B
ActionScript
/**
|
|
* IHash
|
|
*
|
|
* An interface for each hash function to implement
|
|
* Copyright (c) 2007 Henri Torgemane
|
|
*
|
|
* See LICENSE.txt for full license information.
|
|
*/
|
|
package com.hurlant.crypto.hash
|
|
{
|
|
import flash.utils.ByteArray;
|
|
|
|
public interface IHash
|
|
{
|
|
function getInputSize():uint;
|
|
function getHashSize():uint;
|
|
function hash(src:ByteArray):ByteArray;
|
|
function toString():String;
|
|
}
|
|
} |