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))); }
public static string Encrypt(SQB.KeyType3151531 keyType, string plainText, string entropy) { return(SQB.Encrypt(keyType, plainText, entropy, string.Empty)); }
public static string Encrypt(string plainText) { return(SQB.Encrypt(SQB.defaultKeyType, plainText, string.Empty, string.Empty)); }