Project Description

This is a Digital Security System Design involving some cryptographic algorithms such as Caesar, ChaCha, AES, Prince. Cryptography has been driven by escalating security challenges, especially lightweight encryption. The primary objective of this research is the design and implementation of electronic circuits, specializing in encryption algorithms and lightweight encryption, targeting preconfigured microcontrollers. This study aims to develop and implement data encryption within limited hardware such as microcontroller environments. Its results can be applied to subsequent research in the same field.

Implementation

The implementation of this project includes three main stages: designing our own Printed Circuit Board, Assembling FPGA, System on Chip and simulating cryptographic algorithms.

An Intel DE10 Standard FPGA Board was used in order to assemble a preconfigured microcontroller. The SoC System use the Nios 2 CPU as the processor.

This project delved into to the application of Bolean Algebra: Full and Half Adder 1 Bit. In many computers and other kinds of processors, adders are used in the arithmetic logic units (ALUs) used to calculate addresses, table indices, increment and decrement operators and similar operations.

Results and discussion

In terms of our Printed Circuit Board design, the 18650 rechargeable batteries can be charged and protected from overheating or overloading by the voltage-reducing and load-cutting charging circuit. The circuit design uses the 1N5819 diode and LM317 voltage regulator, which control the current direction and adjust the output voltage according to a custom signal. This way, the 18650 rechargeable batteries can handle different input voltage levels.

Regarding simulating section, despite the improvements in speed, performance, and security of the PRINCE encryption algorithm, some potential difficulties and dangers were spotteds. PRINCE encryption has advanced in terms of asymmetry, but the algorithm can still be compromised by brute-force techniques. The sizes of bits and bytes in PRINCE encryption are relatively small, so applications that require more bits or bytes for encryption may not be compatible with it.