Hextroadinary
30 points Easy

Meet ROXy, a coder obsessed with being exclusively the worlds best hacker. She specializes in short cryptic hard to decipher secret codes. The below hex values for example, she did something with them to generate a secret code, can you figure out what? Your answer should start with 0x.

0xc4115 0x4cf8

Flag
Rating 4.45
5
4
3
2
1

Discussion

That was fun!

0
Protected
0

Easy to solve with Python code

The ^ operator in Python represents the bitwise XOR operation. When applied to two numbers, it performs the XOR operation on each corresponding pair of bits. Here's how it works:

0xc4115 -> 11000001000100010101 (binary)

0x4cf8 -> 0100110011111000 (binary)

XOR ( ^ )

Result -> 10001101111010010101 (binary)

When you use the hex() function to print the result in hexadecimal format, it converts the binary result to its hexadecimal representation:

10001101111010010101 (binary) -> The Flag (hexadecimal)

So, print(hex(0xc4115 ^ 0x4cf8)) will output The Flag.

5
Protected
0
Protected
0

really tricky , but i like it .

0

The actual given code doesn't have CTFLEARN in it, it does begin with 0x. For the love of god, don't think it needed to have CTFLEARN and search for it using the answer for 10 minutes like I did. Godspeed, friends.

0
Protected
1

start with '0x' and followed by the scode

1

Likely the best when we start cryptography,refer to xor calculation to decode secret

1

Means? can you explain?

1

Eeasy. You have to learn about logic operations in programmings

0