mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-24 18:38:44 +08:00
19 lines
442 B
C#
19 lines
442 B
C#
using System.Security;
|
|
|
|
namespace mRemoteNG.Security
|
|
{
|
|
public interface ICryptographyProvider
|
|
{
|
|
int BlockSizeInBytes { get; }
|
|
|
|
BlockCipherEngines CipherEngine { get; }
|
|
|
|
BlockCipherModes CipherMode { get; }
|
|
|
|
int KeyDerivationIterations { get; set; }
|
|
|
|
string Encrypt(string plainText, SecureString encryptionKey);
|
|
|
|
string Decrypt(string cipherText, SecureString decryptionKey);
|
|
}
|
|
} |