# Secure Video Communication Using Multi-Equation Multi-Key Hybrid Cryptography
## 3 Proposed Method
### Proposed Algorithms  
A novel multi-equation-based multi-key crypto technique is proposed in this study. We have improved upon the method proposed in [13] using multi-equation and user attributes. The previous method uses RSA, AES, and ECC equations to encrypt video chunks. Here, each video chunk uses an ECC equation to generate the key for chunks. (We recommend the readers to read the article for a better understanding). The proposed method has the following features:  
* Achieves security using content metadata and receiver's details. * RSA, AES, and equations make the method hybrid. * Increases the complexity of the security using randomisation. * Improves security using user attributes. * Simplifies key management using dynamic and automatic generators. Figure 3 shows the proposed cryptography techniques and the usage of AES, RSA, multi-equations, and user attributes in the process. In this process, the multi-key generation module are detailed and discussed. The key generation process begins with the input of the video data. The video is divided into multiple 1 MB size video chunks. Here, it is considered that the video chunks are of an equal size to 1 MB. However, while generating the chunk, we have ensured that the chunk will have the full frame. The video chunks are referred to as \(Vc_{i}\), where \(i\) is a sequence number starting from 0 to \(n\). Hence, \(Vc_{0}\) refers to the first video chunk and so on. The sender device keeps track of every receiver and their characteristics, including the user's public key \(R_{Pkey}\) and user attributes \(U_{attr}\) (MAC address, and so forth). The process of creating the video ID kicks off the video streaming. Later, the chunks are encrypted independently using various keys. In Algorithm 1, each step of the proposed method is broken down into its parts. Generating video segments \(Vc_{i}\) that are all the same size helps keep the algorithm's complexity under control. The public key of the recipient \(R_{Pkey}\) is utilised, along with the first 16 bytes of the video data, to generate the video ID \(V_{ID}\). Initial video bytes are available in this 16-byte block, and that information is regarded as being exclusive to each video chunk. As a result, the video ID \(V_{ID}\) generated in this phase is one of a kind, and it is this video ID utilised for the subsequent encryption of chunks. The video ID \(V_{ID}\) is transformed into the base64 string format to be saved and used within the program. As shown in Algorithm 1, the video ID \(V_{ID}\) is used for generating the key. This key is used by the first video chunk only. The video chunk is encrypted using AES and streamed to the client. The set of equations comprises an extensive assemblage of mathematical expressions that communicate a diverse array of information. The set of equations encompasses a range of mathematical expressions, including quadratic equations, which are characterised by second-degree polynomials, linear equations that can be graphically represented as straight lines, radical equations that incorporate radicals, exponential equations that involve exponents, and rational equations that incorporate fractions. Every category of equation possesses distinct characteristics and approaches for resolution, rendering them valuable in diverse circumstances. The equation \(EQ_{i}\) is the equation that is chosen from the set. The initial value for \(j\) will be decided in the process of user creation for the communication. The value of \(j\) is maintained by both the sender and receiver, and a later initial value is used in the encryption and decryption of the video chunks. A numbering system that follows a progression is used to organise the equations in a file. The movie is encrypted using  
Figure 3: Proposed multi-equation-based hybrid multi-Key cryptography method. a variety of equations at each chunk level. An integer chosen at registration is used to determine which set of the equation serves as the beginning of the sequence.