Files
mmorales.photo/back/services/Crypto/ICryptoService.cs
2025-08-15 20:03:07 +02:00

13 lines
416 B
C#

namespace back.services.Crypto;
public interface ICryptoService
{
string? Encrypt(string clientId, string plainText);
string? Decrypt(string clientId, string encryptedText);
string? Hash(string plainText);
bool VerifyHash(string plainText, string hash);
string Salt();
string Pepper();
string GetPublicCertificate(string clientId);
string GetPrivateCertificate(string clientId);
}