PageRenderTime 16ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHash.as

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
ActionScript | 21 lines | 12 code | 1 blank | 8 comment | 0 complexity | 71f45750c456debd7ef1f74e6db9dc23 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  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. }