165k views
22 votes
An encryption system works by shifting the binary value for a letter one place to the left. "A" then becomes: 1 1 0 0 0 0 1 0 This binary value is then converted to hexadecimal; the hexadecimal value for "A" will be?​

An encryption system works by shifting the binary value for a letter one place to-example-1
User Quesi
by
5.0k points

1 Answer

13 votes

Answer:

a = 0x61 = 01100001, shifted: 11000010, hex: 0xC2

l = 0x6C = 01101100, shifted: 11011000, hex: 0xD8

g = 0x67= 01100111, shifted: 11001110, hex: 0xCE

Step-by-step explanation:

The ascii character codes were actually for lowercase letters, whereas the assignment uses uppercase letters.

User Interskh
by
6.3k points