[ CHALLENGE ]: bit manipulation / arrays / strings
A poorly encryped message from our nemesis has been intercepted, it is up to you to use your bitmanipulation, array and string skills to decypher it. The data: 98EF122CB2193031C3799231BA643A7D5269435CB021C22CD0139044C10803392087BA68522799295A76D06C43783A78426CE020B270D000905D0318887420049032B00982087878E261427A5243F0540221905A606CB864B879C334E95A6344 We have found out that the data consists of 16 bit unsigned values. Each of those 16 bit values only have 8 valid data bits in them, the rest is noise. Note: bit numbers count from the least significant bit, meaning that bit 0 is the right-most bit and bit 15 is the left-most bit. What you must do to decypher this message is move all 'real' bits to the correct position in a byte: - invert bit 4 and move it to position 0 in your byte - move bits 11-13 to bits 1-3 in your byte - move bit 1 to bit 4 in your byte - invert bits 7 and 8 and move them to bits 5-6 in your byte - move bit 10 to bit 7 in your byte If you do this for every 16 bit value and make a proper ascii string using the created bytes you will get a message. I think you'll know when you've got it right :)