Decode the given message manually or using a table only

  • Thread starter Thread starter Wolverine31
  • Start date Start date
  • Tags Tags
    Table
AI Thread Summary
The discussion revolves around decoding a hexadecimal message encoded in ASCII, where the message is 70 bits long and starts with a specific header. Participants express confusion over whether to decode single hex digits or pairs, clarifying that each ASCII character is represented by two hex digits, equating to 8 bits. It is emphasized that using two hex digits allows for a broader range of ASCII characters, as one hex digit only represents 16 values. The conversation highlights the challenge of applying classroom knowledge to this specific homework problem, with a focus on utilizing external resources for understanding. Ultimately, a clear explanation of the relationship between hex and ASCII helps participants grasp the decoding process.
Wolverine31
Messages
11
Reaction score
0

Homework Statement


We have captured some transmission from some transmission media and it is not a clear readable text. We know that the message part of the frame is using ASCII-coding to code the message. The transmission is in several parts. We know that the start of frame is 1010101010101011 and we know that the message is always 70 bits long. What is the message in clear clear text if the message is the following.

AAAB5452414E534D49535349AAAB494F4E20464C5549442052AAAB4544204C494E45393030

Homework Equations


The Attempt at a Solution



This homework was given to us by our professor after giving brief introduction about ASCII codes (nothing in detail) as a part of digital circuits course. I tried using the tables and some tools online to convert it to readable text but failed. Can you please give me a hint ?
 
Physics news on Phys.org
the binary 1010-1010-1011 is 10-10-11 in decimal

The hex starts A-A-B which is, you guessed it, 10-10-11 in decimal

I'd assume AAAB is the header, and the message starts with the 54...

Not sure how far I should go with a homework question
 
d3mm said:
the binary 1010-1010-1011 is 10-10-11 in decimal

The hex starts A-A-B which is, you guessed it, 10-10-11 in decimal

I'd assume AAAB is the header, and the message starts with the 54...

Not sure how far I should go with a homework question


Thanks for the hint. It got me started. But I got stuck again. I am not sure if I should use the ASCII value of 5(hex) at a time or 54(hex) at a time. And I am sorry because homework was totally out of what was taught in class and the professor wanted us to find the solutions using online resources.
 
By outside resources he means that you should find and read articles on the subject, not that you should crowd source the answer. It's a mathy class not a social engineering class.
 
d3mm said:
By outside resources he means that you should find and read articles on the subject, not that you should crowd source the answer. It's a mathy class not a social engineering class.

Ok i got your point. But I did that beforehand it worked for all other problems I had but not this one and also i compared the message part with ASCII characters in the table but i still cannot get a readable text. And there are 70 bits in the message part and each bit when decoded using the table give out something stupid and very long.
 
Wolverine31 said:
Thanks for the hint. It got me started. But I got stuck again. I am not sure if I should use the ASCII value of 5(hex) at a time or 54(hex) at a time. And I am sorry because homework was totally out of what was taught in class and the professor wanted us to find the solutions using online resources.

What does 54 in hex represent in ASCII? What does hex 52 represent in ASCII? Keep going...
 
berkeman said:
What does 54 in hex represent in ASCII? What does hex 52 represent in ASCII? Keep going...


Thank you. I tried doing with a single bit value ie fot 5,2 and so on. So i did not get readable message. Thank you once again. But i still don't understand why the we use twot bits at a time but not 1 or 2. thanks once again
 
Wolverine31 said:
Thank you. I tried doing with a single bit value ie fot 5,2 and so on. So i did not get readable message. Thank you once again. But i still don't understand why the we use twot bits at a time but not 1 or 2. thanks once again
Each hexadecimal number in the message is 4 bits. Ascii characters are represented by 8 bits (one byte).

Think of it another way. The hexidecimal numbers in the message range from 0 to F (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F). That's a total of 16 values for each hex digit. (24 = 16). If only one hexadecimal numeral mapped to an Ascii character, there would be only 16 Ascii characters, maximum. One couldn't even represent the alphabet that way, not to mention numbers and special characters.

With two hexidecimal numerals per Ascii character, there's 8 bits (one byte). That allows for a total of 28 = 256 possible representations. (And, if you haven't guessed, the Ascii table plus the extended Ascii codes total to 256 different characters.)
 
collinsmark said:
Each hexadecimal number in the message is 4 bits. Ascii characters are represented by 8 bits (one byte).

Think of it another way. The hexidecimal numbers in the message range from 0 to F (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F). That's a total of 16 values for each hex digit. (24 = 16). If only one hexadecimal numeral mapped to an Ascii character, there would be only 16 Ascii characters, maximum. One couldn't even represent the alphabet that way, not to mention numbers and special characters.

With two hexidecimal numerals, there's 8 bits (one byte). That allows for a total of 28 = 256 possible representations. (And, if you haven't guessed, the Ascii table plus the extended Ascii codes total to 256 different characters.)


Thanks a bunch for a crystal clear explanation. :smile:
 

Similar threads

Replies
4
Views
2K
Replies
2
Views
9K
Replies
15
Views
4K
Replies
2
Views
2K
Replies
2
Views
2K
Replies
3
Views
3K
Replies
1
Views
4K
Back
Top