@Test
public void testEncode() {

  scrambledPasswordHexStr = "f2671df1862aed0340be809405b30bb93d29142d";
  challenge = new byte[]{
    // part1
    0x18, 0x38, 0x55, 0x7e, 0x3a, 0x77, 0x65, 0x35,
    // part2
    0x34, 0x1f, 0x44, 0x4a, 0x36, 0x60, 0x5d, 0x79, 0x5c, 0x09, 0x6c, 0x08};
  assertEquals(scrambledPasswordHexStr, StringUtil.toHexString(Native41Authenticator.encode(PASSWORD, challenge)));
}