

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: Encoding Bytes
incomplete
2: Encoding != Encryption
incomplete
3: Formatting
incomplete
4: Decoding
incomplete
This lesson's interactive features are locked, please to keep using them
We've encoded some raw data into hex and binary strings, now let's write some code to decode the hexadecimal version.
Complete the getHexBytes function. It takes a string of the following format as input:
48:65:6c:6c:6f
It should return a []byte that represents the string encoded in each hex value. We're essentially reversing the process we used to encode the data in the last assignment.
The following functions will help: