namespace NFC.Crypto
{
public interface ICipher
{
///
/// Size of Cipher Block in Byte
///
public uint BlockSize { get; }
///
/// Size of Key in Byte
///
public uint KeySize { get; }
///
/// Encrypt Data
///
/// Data in BlockSize
/// Key
/// Initialisation Vector
///
public byte[] Encrypt(byte[] data, byte[] key, byte[] IV);
///
/// Decrypt Data
///
/// Data in BlockSize
/// Key
/// Initialisation Vector
public byte[] Decrypt(byte[] data, byte[] key, byte[] IV);
}
}