Saturday, June 27, 2020

Converting Numbers From Binary To Hexadecimal Or Vice Versa Encryption - 1100 Words

Converting Numbers From Binary To Hexadecimal Or Vice Versa And Encryption (Term Paper Sample) Content: Question 1[5 marks] Lets get some practice with the binary and hexadecimal number systemsConvert the hex value A1B2C3 into binary1010 0001 1011 0010 1100 0011Convert the binary value 1100 0000 0001 1101 1100 1010 1011 0101 into hex.C01DCAB5Convert the binary value 1000 0100 0010 0001 0011 0110 1100 1111 into hex.842136CFWhat is ABCFFE + 2 equal to (assuming hex values)?1010 1011 1100 1111 1111 1110 0000 0000 0000 0010What is 133AC + AC567 equal to (assuming hex values)?0001 0011 0011 1010 1100 0000 0000 0000 1010 1100 0101 0110 0111Question 2[4 marks] Now lets get some practice converting text to its hex equivalent value.What is the ASCII representation in hex for the wordCrime?43 72 69 6d 65What is the ASCII representation in hex for the wordHACKER?48 41 43 4b 45 52What is the ASCII representation in hex for the phraseGood Luck?47 6f 6f 64 20 4c 75 63 6bWhat is the text message represented by the following hex digits?4F 6E 63 65 20 55 70 6F 6E 20 41 20 54 69 6D 65Onc e Upon A TimeQuestion 3[7 marks] Lets look at an old Roman age encryption scheme. Lets say we intercepted a messagefrom a known Celtic hacker group. We know from experience that this group uses the charactersfrom A to Z, then a space, and then the numerals from 0 to 9 and employs a wrap around (movingleft from A gives us 9). The first leading pairs of letters tell us what the substitution code is using the code phrase Trudy Jones. For example if the first two pairs are uy du the code is 24 and 32. This would mean that we move the first 2 letters 4 places to the right eg. A becomes E), and then the next 3 letters 2 places to the left (eg. A becomes 8), then 4 places to the right for the next 2 characters and so on to encrypt the message.a. What is the message hidden in du yd JQD8FQXFTCDLK? Remember that youll have toreverse the algorithm (i.e. shift left first then right then left etc.) to decrypt the message.LUZ AURANGZEBb. The message is actually describing a fictional character. W hat would the encrypted nameof this character be using the same encryption scheme as the original message?/MJ9kE1FOmH9uj5NANtrCKHMm7bytjlrBpOGrS8QNg4=Question 4[9 marks] Now lets look at a more modern symmetric encryption. Assume that the algorithm for thissystem is to rotate the bits in the message right 4 positions, XOR the bits with the key, and rotatethe bits 8 positions to the left.a. I will email you the key which is encoded within a spam email message. Once you receivethe email go to / and click on Decode. Cut and paste the bodyof your email into the Decode window and get the key. The key will be 2 hex numerals. Ifyou don't get that when you decode the message, you haven't copied the e...

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.