Files
mRemoteNG/mRemoteV1/Security/ICryptographyProvider.cs

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);
}
}