/flash-src/third-party/com/hurlant/crypto/hash/IHash.as
ActionScript | 21 lines | 12 code | 1 blank | 8 comment | 0 complexity | 71f45750c456debd7ef1f74e6db9dc23 MD5 | raw file
1/** 2 * IHash 3 * 4 * An interface for each hash function to implement 5 * Copyright (c) 2007 Henri Torgemane 6 * 7 * See LICENSE.txt for full license information. 8 */ 9package com.hurlant.crypto.hash 10{ 11 import flash.utils.ByteArray; 12 13 public interface IHash 14 { 15 function getInputSize():uint; 16 function getHashSize():uint; 17 function hash(src:ByteArray):ByteArray; 18 function toString():String; 19 function getPadSize():int; 20 } 21}