Example #1
0
 public static string EncryptToBase64String(this byte[] data, byte[] key)
 {
     return(XXTEA.EncryptToBase64String(data, key));
 }
Example #2
0
 public static string EncryptToBase64String(this string data, string key)
 {
     return(XXTEA.EncryptToBase64String(data, key));
 }
Example #3
0
 public static string EncryptToBase64String(this string data)
 {
     return(XXTEA.EncryptToBase64String(data, DefaultKeyBytes));
 }