Search found 4 matches
- Fri May 04, 2012 11:48 am
- Forum: Challenges Solved
- Topic: Didactic Bytes
- Replies: 10
- Views: 955
- Fri May 04, 2012 11:33 am
- Forum: Challenges Solved
- Topic: Didactic XOR
- Replies: 7
- Views: 1177
Use "calc.exe" in Scientific mode. Select Hex as numeration base then XOR 9f with c7.
=> 58 which converted to ASCII = 'X'
Python:
=> X
=> 58 which converted to ASCII = 'X'
Python:
Code: Select all
a = 0x9f
b = 0xc7
print chr(a^b)
- Fri May 04, 2012 10:41 am
- Forum: Challenges Solved
- Topic: Who goes there?
- Replies: 22
- Views: 5039
Code: Select all
name = "lortedy"
print name[::-1]
- Thu May 03, 2012 10:22 pm
- Forum: Challenges Solved
- Topic: Didactic Byte
- Replies: 21
- Views: 3792
Use "calc.exe" in Scientific Mode and input number then set numeration base to Hex.
=> E9
Manual solution:
=> E9
Python:
=> 0xe9
=> E9
Manual solution:
Code: Select all
233 % 16 = 14 r 9
14 % 16 = 0 r 14 (14 = E in hex)
Python:
Code: Select all
nr = 233
print hex(nr)