It is important to define the problem in order to propose a solution that can perform lossless data compression using binary data and encryption. It can also be used to protect data in situations where data privacy is important. Encoding and compression schemes must be functionally and computationally efficient in order to offer an optimal solution for the problems mentioned above.

The system has the ability to accept text files that are binary encoded and processed. Huffman is the best compression method to use on encrypted data. This ensures a correct balance between space complexity and tasks. Design should be optimized to achieve the best compression ratio possible, given the current computer’s limited resources. The design is therefore constrained by memory consumption and compression speed. The system currently aims to use text files in ASCII-based standard format. The reverse is done on the receiver side. The image is decrypted and then decompressed, giving back the binary file. The block diagram 1 illustrates the Encryption Process on the Sender’s side. The system will first convert a text document into its binary version, then it will send the binary file along to the Huffman Compressor. This performs compression of the binary data through a transformation into a vector. Color Coded Encoder uses the vector to convert numeric vectors into a JPEG colored image. The colored image is composed of blocks. The process to assign colors is predefined. By grouping three binary bits together, it allows for 8 different color combinations. The diagram in 2 illustrates the Decryption Process from the Receiver’s perspective. The system inputs the encoded image at the receiver end. The system repeatedly verifies that the blocks are dissimilar and then uses a median of values in order to obtain a practical perspective of the block’s color. It recreates vector data using this decryption process. Next, vectored information is sent to Huffman Decompressor. This converts data back into the binary format as input. The binary file will be translated into its original ASCII ASCII Text file.

Author

  • evelynnrobertson

    Evelynn Robertson is a 27-year-old blogger and volunteer. She is also a student. Evelynn is originally from the United States but is currently living in the United Kingdom. She is a graduate of the University of Alabama. Evelynn is passionate about education and is always looking for new ways to help others learn. She is also a big fan of travel and enjoys exploring new places.