Here, we will provide you complete code for different modes of Data Encryption Standard implemented (DES) in Verilog. This problem statement is of I-Chip 2020 event, I-Chip is a Verilog HDL based event. The participants are given an exciting problem statement and are expected to code its solution in Verilog, simulate their code and implement it on FPGA board. It is an event of Annual Technical Fest UDYAM of department of ELECTRONICS IIT(BHU).
Problem statement is given here. Basically, we have to write a verilog code to encrypt and decrypt a given image using different modes of DES, this is known as crytography.
- Use this Python code to convert image to binary txt file.
- Use this Python code to convert binary txt file to image.
The code for every mode is given in files of this repository. It includes Process Key which is same for every code, verilog module and test benches corresponding to them.
For Example- if the name of file is ECB_enc.v then it will have code of encryption for ECB mode and corresonding test bench file is given by name test_ecb_enc.v. Similarly, if 'dec' is used in place of 'enc' in file name are the files corresponding to the decryption process.
The images shown above are screenshots of the python program output. So, they may not be in required resolution of 1024 X 1024. So, instead of using these images, use there .txt file with same name which is binary form of the image.
- https://drive.google.com/file/d/1AdoeZklvGeN70Z-C6klR9XYD8B-qVsxD/view?usp=sharing
- https://drive.google.com/file/d/1COexFHtUOkY0hctzP4QFXxKHtCyYmSTj/view?usp=sharing
- https://drive.google.com/file/d/1sOd31YbFAfZne7c2WQ0h9owgZI_9_66C/view?usp=sharing
- Videos link - https://drive.google.com/file/d/1WiRzZqI0KxPNIHmO8BV3Hv-yuMK6sjY9/view?usp=sharing
- https://www.tutorialspoint.com/cryptography/data_encryption_standard.htm
- http://www.tetraedre.com/advanced/files/tcdg.pdf