add Cipher service in Module ...

This commit is contained in:
2025-07-17 04:38:58 +03:30
parent d4d6706b4e
commit 0df5d68df0
2 changed files with 179 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace xCommons.Interfaces
{
public interface IXCipher
{
string Encrypt(string plainText);
string Decrypt(string cipherText);
string EncryptFromBytes(byte[] textBytes);
string DecryptFromBytes(byte[] cipherBytes);
}
}