|
//Copyright (c), October 2007, Some Rights Reserved
//By Murat Firat
using System;
namespace Cipher
{
delegate void ProgressEventHandler(object o, ProgressEventArgs args);
interface ICipher
{
void Decrypt(string SourceFileName, string DestinationFileName, string Key);
byte[] Decrypt(byte[] BytesInput, string Key);
byte[] Encrypt(byte[] BytesInput, string Key);
void Encrypt(string SourceFileName, string DestinationFileName, string Key);
}
class ProgressEventArgs : EventArgs
{
public ProgressEventArgs()
{ }
public ProgressEventArgs(int i)
{ progress = i; }
public ProgressEventArgs(int i, bool b)
{ progress = i; stop = b; }
public int progress;
public bool stop;
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Has BS degree on computer science, working as software engineer in istanbul.