← Latest papers
💻 computer science

Intelligent Adaptive Hybrid Encryption Based on Unimodular Hill Cipher, RSA-OAEP, and Chaotic Logistic Maps for Universal Digital File Security

This paper proposes an AI-driven adaptive hybrid cryptosystem that dynamically allocates Unimodular Hill Cipher and RSA-OAEP encryption based on file characteristics, utilizing Logistic Chaotic Maps for key generation to achieve robust, efficient, and lossless security for universal binary files.

Original authors: Samsul Arifin

Published 2026-07-30
📖 5 min read🧠 Deep dive

Original authors: Samsul Arifin

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Digital Locksmith's Dilemma

Imagine your digital life as a massive, bustling city where every file you send—a photo, a song, a secret note, or a complex database—is a package traveling through the streets. To keep these packages safe from thieves, we use "encryption," which is essentially a magical lock that scrambles the contents so only the person with the right key can unscramble them. For decades, we've had two main types of locksmiths. The first type uses a super-fast, mechanical gear system (like a standard lock) that can process huge piles of packages quickly, but if someone figures out how the gears turn, they can open everything. The second type uses a heavy, unbreakable vault door (like a high-security safe) that is incredibly strong but takes forever to open and close, making it terrible for moving thousands of packages at once.

The big challenge in the world of digital security is that most files today aren't just simple letters; they are "binary files"—complex streams of data that look like random noise to a computer. Traditional methods often struggle to handle these diverse file types efficiently without slowing everything down or leaving cracks in the armor. This is where the science of "hybrid encryption" comes in. It's the idea of using the fast gear system for the heavy lifting and the heavy vault door only for the most critical parts, trying to get the best of both worlds. But what if the lock itself could look at the package, decide how big it is, and automatically choose the perfect mix of speed and strength? That is the question this research team set out to answer.

The Smart, Shape-Shifting Lock

In this study, a researcher named Samsul Arifin from the Institut Teknologi Sains Bandung proposes a new, "intelligent" way to lock up digital files. Instead of using a one-size-fits-all approach, the team built a system that acts like a curious detective. Before it even starts locking the file, it takes a quick look at the data to see how "random" or "complex" it is. Think of it like a bouncer at a club who checks your ID and outfit; if you look like a VIP (a small, sensitive file), they treat you differently than if you look like a regular guest (a huge, messy file).

The system uses three main tools to do its job. First, it has a "Unimodular Hill Cipher," which is a fancy name for a mathematical puzzle using a grid of numbers (a matrix) to shuffle data around. It's incredibly fast, like a conveyor belt that can spin thousands of items in a blink. However, to make sure this conveyor belt doesn't get stuck or lose pieces, the researchers use a special kind of grid that is guaranteed to be reversible—meaning you can always get the original items back out. Second, they use "RSA-OAEP," the heavy vault door, but only for a tiny, specific slice of the data. This adds a layer of super-strong protection without slowing down the whole process. Third, to make sure the keys they use are truly unpredictable, they use a "Chaotic Logistic Map." Imagine a butterfly flapping its wings in a way that creates a storm; this mathematical tool takes a tiny seed (like a password) and turns it into a wild, chaotic sequence of numbers that is nearly impossible to guess.

The "intelligent" part of the system is its ability to decide how much of the file to send through the fast conveyor belt versus the heavy vault. In their experiments, they tested this on a real PDF file that was about 1,783,994 bytes in size. The system analyzed the file and found it was already quite random (with an entropy score of 7.996689, which is very close to the maximum possible randomness). Because of this, the system decided to send 98.5% of the file through the fast conveyor belt and only 1.5% through the heavy vault. This is a smart move because it saves time; if they had used the heavy vault for the whole thing, it would have taken much longer.

The results of their simulations were quite impressive. When they locked the file, the resulting "ciphertext" looked like pure, random noise. The researchers measured this using a tool called "Chi-Square," which checks if the data looks like a fair roll of the dice. The original file had a score of 8159.84, indicating it had some patterns, but the encrypted file dropped to a score of 269.85, meaning it looked almost perfectly random. They also checked the "correlation" between the original and the locked file, which was nearly zero (-0.000152), proving that the two looked completely unrelated.

Perhaps the most important finding was that the system didn't lose anything. After locking and unlocking the file, the researchers checked the "SHA-256 hash," which is like a digital fingerprint. The fingerprint of the original file and the decrypted file were identical, confirming that the system could perfectly reconstruct the original document without any missing pieces or errors. They also tested how the system handled different "passwords" and matrix sizes. They found that changing the matrix size from 9 to 2026 made the encryption take longer (from 0.1498 seconds to 11.2176 seconds for encryption, and up to 95.0922 seconds for decryption), but it also made the system more complex and harder to crack.

The paper suggests that this approach offers a balanced solution: it is fast enough for large files, strong enough to protect sensitive data, and smart enough to adapt to whatever kind of file it is given. While the researchers note that larger matrix sizes slow things down significantly, the system successfully demonstrated that it could handle real-world binary files like PDFs, turning them into secure, unreadable data and then perfectly restoring them. The study concludes that this adaptive, hybrid method is a promising step forward for keeping our digital files safe in a world where data comes in all shapes and sizes.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →