Example #1
0
 public static string Decrypt(this string encryptedstring)
 {
     return(StringCipher.Decrypt(encryptedstring, Constants.EncryptionKey));
 }
Example #2
0
 public static string DecryptKey(this string key)
 {
     return(StringCipher.Decrypt(key, Constants.DefaultEncryptionKey));
 }
Example #3
0
 public static string Encrypt(this string plaintext)
 {
     return(StringCipher.Encrypt(plaintext, Constants.EncryptionKey));
 }