mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 13:33:13 +00:00
cipher
This commit is contained in:
14
Esiur/Security/Cryptography/IKeyExchanger.cs
Normal file
14
Esiur/Security/Cryptography/IKeyExchanger.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Esiur.Security.Cryptography
|
||||
{
|
||||
public interface IKeyExchanger
|
||||
{
|
||||
public ushort Identifier { get; }
|
||||
public byte[] GetPublicKey();
|
||||
public byte[] ComputeSharedKey(byte[] key);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user