HexE -- Securing Audio Contents in Voice Chat using Puzzle and Timestamp

Aadhitya A
2024-01-01
Abstract:Cryptography is the study of securing information. It is the physical process that scrambles the information by rearrangement and substitution of content, so that it becomes difficult for anyone to understand. In today's world, security has become an inevitable part of our day-to-day life, right from normal browsing to performing critical payment transactions. Hackers work endlessly to break the security present in the apps/websites on which we perform day-to-day operations and salvage valuable information. Because of this, many illegal activities have taken place which affect the user. One such illegal activity is tapping the voice communication between two users. If left unencrypted, the communication between the users is compromised, thereby causing issues. One way to prevent this act is to encrypt the audio in that the contents cannot have tampered with unless the receiver has the valid key to decrypt it. The proposed solution termed "HexE" aims to create a puzzle-based algorithm which would encrypt and decrypt the audio files without manipulating the file header, thus securing the contents. The algorithm works on an NxN SuDoKu-based puzzle which is accepted both by the sender and receiver. Using the timestamp of the event (UNIX based), a grid from the puzzle is chosen which in turn will act as the key for both encryption and decryption. If the timestamp is slightly adjusted, the process will end up in failure during decryption, thus ensuring confidentiality. Another approach to secure the audio files is to implement IPFS (Inter Planetary File System) alongside the puzzle algorithm in which the encrypted audio is stored on it and the receiver can fetch the audio provided if the valid IPFS Hash of the file is present. In this way, the audio file is secured.
Cryptography and Security
What problem does this paper attempt to address?
The main problem that this paper attempts to solve is to ensure the security of audio content in voice chats, preventing unauthorized third - parties from eavesdropping and tampering. Specifically, the paper proposes a new method named "HexE", which uses an encryption algorithm based on Sudoku puzzles and timestamps to protect the security of audio files. ### Specific description of the problem: 1. **Security issues in voice communication**: In modern communication, audio content in voice chats may contain sensitive information (such as personal conversations, business secrets, etc.). If these audios are not encrypted, they may be intercepted and misused by hackers. 2. **Limitations of existing encryption methods**: Traditional audio encryption methods may have problems such as low efficiency, insufficient security, or being vulnerable to attacks. Therefore, a new encryption method is needed to improve the security and confidentiality of audio files. ### Solution: The solution proposed in the paper is to develop an encryption algorithm based on Sudoku puzzles and timestamps, called "HexE". The main features of this algorithm include: - **Using Sudoku puzzles as encryption keys**: By choosing an NxN Sudoku puzzle and selecting specific sub - grids according to the timestamp as the keys for encryption and decryption. - **The role of timestamps**: Utilize the timestamps of events (based on UNIX time) to select specific sub - grids in the Sudoku puzzle, thereby generating encryption keys. A slight adjustment of the timestamp will lead to decryption failure, ensuring the uniqueness and confidentiality of the keys. - **IPFS integration**: To further enhance security, the encrypted audio files can also be stored on the InterPlanetary File System (IPFS) and retrieved through IPFS hashes. ### Main objectives: 1. **Develop efficient audio encryption and decryption algorithms**: Ensure that the algorithms can complete encryption and decryption operations within a reasonable time while maintaining high security. 2. **Improve the security of audio files**: Ensure that the encrypted audio files cannot be cracked even if intercepted, unless the correct key is possessed. 3. **Easy to integrate and user - friendly**: Enable the algorithm to be seamlessly integrated with other systems (such as audio editing software or communication platforms), while maintaining the convenience for users. Through these measures, HexE aims to provide users with an efficient and secure audio encryption solution, which is suitable for various scenarios where privacy needs to be protected.