> I learned from a crazy malaysian that being able to read hex without looking > up the values was a vital skill to master!
After writing a LDAP daemon a few year ago : all I can say 0x69 0x74 0x20 0x63 0x6f 0x6d 0x65 0x73 0x20 0x77 0x69 0x74 0x68 0x20 0x70 0x72 0x61 0x63 0x74 0x69 0x63 0x65 0x2c 0x20 0x69 0x73 0x20 0x65 0x61 0x73 0x79 0x20 0x74 0x6f 0x20 0x66 0x6f 0x72 0x67 0x65 0x74 0x20 0x61 0x6e 0x64 0x20 0x49 0x20 0x61 0x6d 0x20 0x77 0x61 0x79 0x20 0x74 0x6f 0x6f 0x20 0x6c 0x61 0x7a 0x79 0x90 0xCC 0xF4 I took this day as day off ... Thomas $python >>> message = 'it comes with practice, is easy to forget and I am way too lazy' >>> encoded = ' '.join(hex(ord(_)) for _ in message) >>> print encoded 0x69 0x74 0x20 0x63 0x6f 0x6d 0x65 0x73 0x20 0x77 0x69 0x74 0x68 0x20 0x70 0x72 0x61 0x63 0x74 0x69 0x63 0x65 0x2c 0x20 0x69 0x73 0x20 0x65 0x61 0x73 0x79 0x20 0x74 0x6f 0x20 0x66 0x6f 0x72 0x67 0x65 0x74 0x20 0x61 0x6e 0x64 0x20 0x49 0x20 0x61 0x6d 0x20 0x77 0x61 0x79 0x20 0x74 0x6f 0x6f 0x20 0x6c 0x61 0x7a 0x79 >>> print ''.join(chr(int(_,16)) for _ in encoded.split()) it comes with practice, is easy to forget and I am way too lazy
