/flash-src/third-party/com/hurlant/crypto/hash/IHash.as

http://github.com/gimite/web-socket-js · 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. */
  9. package com.hurlant.crypto.hash
  10. {
  11. import flash.utils.ByteArray;
  12. public interface IHash
  13. {
  14. function getInputSize():uint;
  15. function getHashSize():uint;
  16. function hash(src:ByteArray):ByteArray;
  17. function toString():String;
  18. function getPadSize():int;
  19. }
  20. }