Esempio n. 1
0
 public static string EncryptToBase64(string key, string inString)
 {
     Blowfish blowfish = new Blowfish(key);
     return blowfish.EncryptBytes(inString);
 }
Esempio n. 2
0
 public static string DecryptFromBase64(string key, string inString)
 {
     Blowfish blowfish = new Blowfish(key);
     return blowfish.DecryptBytes(inString);
 }