The Best online knowledge resource for hardware engineers!
    Interview Quiz      |       Board Design        |       System Design        |         Lab Stuff                                                                             Home | About
 

 

Design a Simple Digital Encryption System

The question is to design minimal hardware system, which encrypts 8-bit parallel data. A synchronized clock is provided to this system as well. The output-encrypted data should be at the same rate as the input data but no necessarily with the same phase.

The solution is presented in figure 1

 

Figure 1: A Digital Encryption System

 

The encryption system is centered around a memory device that perform a LUT (Look-Up Table) conversion. This memory functionality can be achieved by using a PROM, EPROM, FLASH and etc. The device contains an encryption code, which may be burned into the device with an external programmer. In encryption operation, the data_in is an address pointer into a memory cell and the combinatorial logic generates the control signals. This creates a read access from the memory. Then the memory device goes to the appropriate address and outputs the associate data. This data represent the data_in after encryption.

 

Figure 2: Example of Flash Memory Content

 

Home | Interview Quiz | Board Design | System Design | Lab Stuff | About