Deepak Kumar Cryptographic Algorithm - Explained
Now we will get into detailed working of this algorithm, with an example, and understanding the Variables in the Code to run the simulation.
First, we will consider sending the text “Hi”, [ Stored as EncryptText in the Code ] from Machine A to Machine B. This text is parsed and first “H” is sent from Machine A to Machine B. We can take the ASCII value of H, which has three digits. Let’s suppose, consider it as ( 516 ), [ Stored in array InputValues[ ] in the Code ] for convenience. Now we will take the input value of First Digit 5 to be sent from Machine A to Machine B as in Figure 2.
Acknowledgment and Hash Functions
On receiving Data from Machine A, Machine B acknowledges that it has received the Data. Hash Function is performed on the Input Text and the hash value is sent from Machine A to Machine B with the same DK Cryptographic algorithm. Hash Value is verified by Machine B, and acknowledgment sent back to Machine A.
Handling Error
When an Error value is received by Machine B ( Explained in Cryptanalysis ), Machine B reverts back one Key and performs the same process again. If it again gets an Error Value, reverts back two Keys. It does not reverse back more than 5 consecutive keys ( Design Consideration ) and if it reaches one value after Initial Cryptographic Key. Connection is dropped and a new Session Key is created.
CryptanalysisFirst, we will see, what happens if someone interrupts the communication and messes with the Data.
● By getting the whole Communication Exchange between Machine A and Machine B, no Information can be derived, because it is always a Jumbled Array and a Random Number.
● By altering the Communication Exchange between Machine A and Machine B, none can be achieved, because alteration of digit value in the Jumbled Array will result in Error. Because, it has to be a valid key, with distinct values from [0-9].
● Even if the intruder alters the Data with a new valid Jumbled Array, none can be achieved. Because When Machine B receives the Jumbled Array, Machine B will compare it with its Machine B Key. If a wrong match is found, the Hash Data ( or Acknowledging every Character Sent, based on Design Consideration ) will be different, when that Data is verified.
● Even if an intruder tries a Brute Force attack on Jumbled Array, Error will be detected, on even one single altered Jumbled array.
● An intruder can’t send any data across Machine A and Machine B, because, He does not know, which Jumbled Array to use to send a digit across from Machine A to Machine B.
● Altering Random Number is of no use. Because Mismatch will occur and it corrupts the Data Sent, which can be found on Hash verification.
Now, we will get into different types of attacks that can take place.
Ciphertext only attacks
As explained earlier, Obtaining Cipher Text Only will be of no use. Because it is always a Jumbled Array of distinct digits from [0-9]. Frequency analysis can not be performed on the Cipher Text, because it is always a Jumbled Array.
Known Plaintext attacks
Even if we have both Plain Text and Cipher Text, Key can’t be detected as it changes every time a Data is sent and there is no clue left in the Cipher Text, that can help to detect the Key.
Chosen Plaintext Attack and Chosen Ciphertext Attack will be of no use, as explained above.
Man-in-the-Middle Attack
Man in the Middle Attack will be of no use. Since Capturing the Key value in Key Exchange will not happen as the Exchange is secured by DK Cryptographic Algorithm.
Quantum Computing
Now, we can securely transfer data between Machines, without bothering about any Quantum Computers or any other Super Computers that will ever come. Processing power is helpless with Deepak Kumar’s Cryptographic Algorithm.



Comments
Post a Comment