On 16/09/2014 16:20, Christopher Schultz wrote:
> StringBuilder credential = new StringBuilder(saltLength << 1 +
> serverCredential.length() + 10 + 2);
> credential.append(HexUtils.toString(salt))
> .append('$')
> .append(iterations)
> .append('$')
> .append(serverCredential);
You might want to remind yourself of the rules regarding operator
precedence. Particularly '<<' vs. '+'
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]