private ulong CharsToBits(string data, int ind, int count) { ulong result = 0; for (int i = 0; i < count; i++) result += (ulong)InvAlphabet[data[ind + (!ReverseOrder ? i : count - 1 - i)]] * _powN[BlockCharsCount - 1 - i]; return result; }