static string EncryptText(string toEncrypt)
{
StringBuilder sb = new StringBuilder(toEncrypt);
int p = 0;
for (int i = 0; i < toEncrypt.Length; ++i)
{
sb[i] += NativeConstants.PASSWORD_ENC_STRING[p];
++p;
if (p == NativeConstants.PASSWORD_ENC_STRING.Length) p = 0;
}
sb.Append(NativeConstants.PASSWORD_ENC_STRING[p]);
return sb.ToString();
}