Exemple #1
0
 public static string EncryptKey(this string key)
 {
     return(StringCipher.Encrypt(key, Constants.DefaultEncryptionKey));
 }
Exemple #2
0
 public static string Encrypt(this string plaintext)
 {
     return(StringCipher.Encrypt(plaintext, Constants.EncryptionKey));
 }