Example #1
0
 public static string Encrypt(SQB.KeyType3151531 keyType, string plainText, string entropy, string description)
 {
     if (plainText == null)
     {
         plainText = string.Empty;
     }
     if (entropy == null)
     {
         entropy = string.Empty;
     }
     return(Convert.ToBase64String(SQB.Encrypt(keyType, Encoding.UTF8.GetBytes(plainText), Encoding.UTF8.GetBytes(entropy), description)));
 }
Example #2
0
 public static string Encrypt(SQB.KeyType3151531 keyType, string plainText, string entropy)
 {
     return(SQB.Encrypt(keyType, plainText, entropy, string.Empty));
 }
Example #3
0
 public static string Encrypt(string plainText)
 {
     return(SQB.Encrypt(SQB.defaultKeyType, plainText, string.Empty, string.Empty));
 }