Question: 2. An encryption system from the decimal system to the hexadecimal system. NOTE: 2 = {0, 1, ..., 9} while the output alphabets set =

2. An encryption system from the decimal system to the hexadecimal system. NOTE: 2 = {0, 1, ..., 9} while the output alphabets set = {0, 1, ..., 9, A, ..., F} To simplify the design assume that the input decimal numbers only range between 00 and 15. Hint: If the machine reads 0 followed by a digit, it outputs space then equivalent hexadecimal, while if it reads 1 followed by a digit, it outputs space then the equivalent hexadecimal. a. Design a Mealy machine that encrypts the input decimals into their equivalent hexadecimal digits (15 points) b. What is the encrypted output the Mealy machine produces when it reads 10 07 02 15 in the input tape? (10 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
