Hacker News new | past | comments | ask | show | jobs | submit login

Handy tip: instead of Python you can use `xxd` to inspect hex strings:

    printf '{HEX STRING}' | xxd -r -p | xxd
Make sure to omit the leading `\x`. e.g.,

    > printf '0a00000029416e746967756120616e64204261726275646107414709415447093032381d49534f20333136362d323a414713416d657269636173414c6174696e20416d657269636120616e64207468652043617269626265616e1543617269626265616e093031390934313909303239' | xxd -r -p | xxd
    00000000: 0a00 0000 2941 6e74 6967 7561 2061 6e64  ....)Antigua and
    00000010: 2042 6172 6275 6461 0741 4709 4154 4709   Barbuda.AG.ATG.
    00000020: 3032 381d 4953 4f20 3331 3636 2d32 3a41  028.ISO 3166-2:A
    00000030: 4713 416d 6572 6963 6173 414c 6174 696e  G.AmericasALatin
    00000040: 2041 6d65 7269 6361 2061 6e64 2074 6865   America and the
    00000050: 2043 6172 6962 6265 616e 1543 6172 6962   Caribbean.Carib
    00000060: 6265 616e 0930 3139 0934 3139 0930 3239  bean.019.419.029



Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: