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