I was looking at this exercise and it was mentioned that the string \x1AL\xD23k\xCA\x1D\xD7 consists of 8 bytes. However, I fail to see how there are 8 bytes in the string. Shouldn't there be 7 bytes instead since \x1A would represent 1 byte and any character without \x is a byte on its own?

  • 1
    I'm not sure how this is a security question – schroeder Sep 21 '16 at 20:40

\x1A,L,\xD2,3,k,\xCA,\x1D,\xD7. 8 bytes.

The convention is that \x is followed by exactly two characters base 16 that together denote the byte value. You might want to check out C escape sequeces.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.