Пример #1
0
 public string Encrypt(string key, string data)
 {
     return(CryptographyProvider.Instance().EncryptParameter(data, key));
 }
Пример #2
0
 public string EncryptString(string message, string passphrase)
 {
     return(CryptographyProvider.Instance().EncryptString(message, passphrase));
 }
Пример #3
0
 public string Decrypt(string strKey, string strData)
 {
     return(CryptographyProvider.Instance().DecryptParameter(strData, strKey));
 }