// compute K = H(S) (as of rev 08)
final byte[] s1Bytes = Util.trim(S1);
hash.update(s1Bytes, 0, s1Bytes.length);
final byte[] K1 = hash.digest();
final BigInteger x = new BigInteger(1, srp.computeX(salt, user, password));
// compute S = ((B - (3 * (g ** x))) ** (a + (u * x))) % N
// compute S = ((B - (3 * v)) ** (a + (u * x))) % N