Exemplo n.º 1
0
 public static string DecryptData(SymmetricCipherResults cipherResults)
 {
     return(SymmetricOperation.DecryptData(cipherResults, Constants.Cookie_SymmetricAlgorithm,
                                           Constants.Cookie_SymmetricKey));
 }
Exemplo n.º 2
0
 public static SymmetricCipherResults EncryptData(string plainText)
 {
     return(SymmetricOperation.EncryptData(plainText, Constants.Cookie_SymmetricAlgorithm,
                                           Constants.Cookie_SymmetricKey));
 }