Files
DigitalData.Core/DigitalData.Core.Abstractions/Security/IRSAEncryptor.cs
Developer 02 eccf2b32ce Refactor(Core.Security): Getrennte Pem-Eigenschaften für öffentliche und private Schlüssel wurden entfernt.
- Pem-Eigenschaft in der Hauptklasse RSACryptographer erstellt
2024-11-18 14:39:18 +01:00

11 lines
301 B
C#

namespace DigitalData.Core.Abstractions.Security
{
public interface IRSAEncryptor : IRSACryptographer
{
public byte[] Encrypt(byte[] data);
public string Encrypt(string data);
public bool Verify(string data, string signature) => Encrypt(data) == signature;
}
}