refactor(IRSAEncryptor): umbenannt in IAsymmetricPublicKey

This commit is contained in:
Developer 02
2025-01-07 11:33:53 +01:00
parent 4ce738957d
commit 9aafc9e467
6 changed files with 11 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
namespace DigitalData.Core.Abstractions.Security
{
public interface IAsymmetricPublicKey : IAsymmetricKey
{
public byte[] Encrypt(byte[] data);
public string Encrypt(string data);
public bool Verify(string data, string signature) => Encrypt(data) == signature;
}
}