PageRenderTime 45ms CodeModel.GetById 19ms 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/symmetric/ICipher.as

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
ActionScript | 21 lines | 12 code | 1 blank | 8 comment | 0 complexity | dba5d8db7519d11fbe6b30a53997cda1 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. /**
  2. * ICipher
  3. *
  4. * A generic interface to use symmetric ciphers
  5. * Copyright (c) 2007 Henri Torgemane
  6. *
  7. * See LICENSE.txt for full license information.
  8. */
  9. package com.hurlant.crypto.symmetric
  10. {
  11. import flash.utils.ByteArray;
  12. public interface ICipher
  13. {
  14. function getBlockSize():uint;
  15. function encrypt(src:ByteArray):void;
  16. function decrypt(src:ByteArray):void;
  17. function dispose():void;
  18. function toString():String;
  19. }
  20. }