In the API document that is tehir way of sayin "hex numbers", in this case they are the hex representations of the numbers being xored. That part worked fine, as the result was 0x05. It is the mext part that failed as the result was 0x30 not 0x00. To me that is off because the int of 5 / 16 is 0 (as they denote in x`00`)