mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 19:42:58 +00:00
15 lines
334 B
C#
15 lines
334 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Esiur.Security.Cryptography
|
|
{
|
|
public interface ISymetricCipher
|
|
{
|
|
public ushort Identifier { get; }
|
|
public byte[] Encrypt(byte[] data);
|
|
public byte[] Decrypt(byte[] data);
|
|
public byte[] SetKey(byte[] key);
|
|
}
|
|
}
|