PageRenderTime 362ms CodeModel.GetById 160ms app.highlight 2ms RepoModel.GetById 139ms app.codeStats 0ms

/flash-src/third-party/com/hurlant/crypto/symmetric/ICipher.as

http://github.com/gimite/web-socket-js
ActionScript | 21 lines | 12 code | 1 blank | 8 comment | 0 complexity | dba5d8db7519d11fbe6b30a53997cda1 MD5 | raw file
 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 */
 9package com.hurlant.crypto.symmetric
10{
11	import flash.utils.ByteArray;
12	
13	public interface ICipher
14	{
15		function getBlockSize():uint;
16		function encrypt(src:ByteArray):void;
17		function decrypt(src:ByteArray):void;
18		function dispose():void;
19		function toString():String;
20	}
21}