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