public static byte[] Encrypt(this List <string> stringList, int keyIndex = 0) { return(QEncryption.EncryptString(stringList.ToString(StringDelimiter), KeyHolder.GetKey(keyIndex), KeyHolder.GetIV(keyIndex))); }
public static byte[] Encrypt(this int value, int keyIndex = 0) { return(QEncryption.EncryptString(value.ToString(), KeyHolder.GetKey(keyIndex), KeyHolder.GetIV(keyIndex))); }
public static byte[] Encrypt(this string[] stringArray, int keyIndex = 0) { return(QEncryption.EncryptString(stringArray.ToString(StringDelimiter), KeyHolder.GetKey(keyIndex), KeyHolder.GetIV(keyIndex))); }