-
Essay / System Definition
The problem definition is to suggest a system capable of performing lossless data compression on binary data using encryption and decryption. It also functions as a solution to user's data protection needs, playing an important role in environments where data privacy is critical and thus contributing to information security. Encoding and compression schemes should be computationally and functionally efficient and should seek an optimal solution to the problems mentioned above. Say no to plagiarism. Get a tailor-made essay on “Why Violent Video Games Should Not Be Banned”? Get an original essay The system is capable of receiving inputs in the form of text files whose binary representation is processed and thus encrypted into a color image. One of the compression methods suitable for data compression, known as Huffman coding, is used on the encrypted data to ensure a proper fit between the tasks being performed and the spatial complexity issues involved. The design is expected to achieve the most promising compression ratio, with the limited resources of current computers. As a result, there are strict constraints on the memory usage and compression speed of the design. The system currently aims to work with a text file in standard ASCII format. The system works on two aspects: On the sender's side, this technique compresses the file using Huffman coding and then encodes the data from the binary file into a color-coded encrypted JPEG image file. On the receiver side, it does the opposite, i.e. decrypts the image then decompresses it, bringing back the binary text file.Fig. 1 shows the block diagram of the encryption process on the sender side. Given a stored text file that needs to be encrypted and compressed, the system first converts the file to its binary representation and then passes the binary file to the Huffman compressor which performs compression of the binary data by transforming it into a vector. The vector is then passed as input to the color-coded encoder, which converts the digital vector data into a colored JPEG image. Keep in mind: this is just a sample. Get a personalized paper now from our expert writers. Get a Personalized Essay The encrypted colorful image has a series of colored blocks. The color assignment process is predefined and is done by grouping three bits of the binary data stream at a time, thus giving the possibility of 8 colors in all figures. 2 shows the block diagram of the receiver-side decryption process. Upon reception, the system takes the encrypted image as input. The system checks the color of different blocks iteratively and then takes an average of values to get a practical view of the color of the particular block. Through this decryption process, it recreates the vector data. The vector data is then passed to the Huffman decompressor, which converts the data back to the original binary representation as it was given as input. The binary file is converted back to the original ASCII text file, thereby restoring the text file and completing lossless decompression on the receiver side..