namespace ShareeBike.Model.Device
{
public interface ICipher
{
/// Encrypt data.
/// Key to encrypt data.
/// Data to entrycpt.
///
byte[] Encrypt(byte[] key, byte[] clear);
/// Decrypt data.
/// Key to decrypt data.
/// Encrpyted data to decrypt.
///
byte[] Decrypt(byte[] key, byte[] encrypted);
}
}