mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 03:32:57 +00:00
33 lines
687 B
C#
33 lines
687 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Security.Cryptography;
|
|
using System.Text;
|
|
|
|
namespace Esiur.Security.Cryptography
|
|
{
|
|
public class AES : ISymetricCipher
|
|
{
|
|
Aes aes = Aes.Create();
|
|
|
|
public ushort Identifier => 1;
|
|
|
|
public byte[] Decrypt(byte[] data)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public byte[] Encrypt(byte[] data)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public byte[] SetKey(byte[] key)
|
|
{
|
|
//aes.Key = key;
|
|
//aes.IV = key;
|
|
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|