The disclosed technology pertains to a system and method for encrypted communication.
Implementations of the disclosed technology address technical shortcomings of conventional encryption by providing authentication and verification of the contents of encrypted messages, which may be encrypted by varying cipher methods (e.g., streaming cipher, block cipher), without adding additional processes or steps that are burdensome both in time and processing power.
Current challenges to conventional encryption include a need for asymmetric and other forms of independent authentication and verification, which can substantially and negatively impact speed of communication and use of computational resources. What is needed, therefore, is an improved system for encrypted communication.
The drawings and detailed description that follow are intended to be merely illustrative and are not intended to limit the scope of the invention as contemplated by the inventors.
The inventors have conceived of novel technology that, for the purpose of illustration, is disclosed herein as applied in the context of encrypted communication. While the disclosed applications of the inventors’ technology satisfy a long-felt but unmet need in the art of encrypted communication, it should be understood that the inventors’ technology is not limited to being implemented in the precise manners set forth herein, but could be implemented in other manners without undue experimentation by those of ordinary skill in the art in light of this disclosure. Accordingly, the examples set forth herein should be understood as being illustrative only, and should not be treated as limiting.
Implementations of the disclosed technology represent substantial enhancements and improvements to modern encryption, which include methods for completing all of the necessary functions of authentication and verification in the processes of and as a byproduct of the act of decryption itself. This eliminates the need for any additional authentication process, and in some implementations can be achieved while adding no or substantially no additional burden to computational resources.
The current industry standard and common practice is decryption, then comparison of the hash or checksum of the decrypted text with the hash or checksum of the original plain text which was transmitted along with the cipher text. However, this conventional approach only protects against unintentional and innocent errors. As an example, if a nefarious actor is capable of altering the cipher text in a meaningful way, then the actor also has the capability to alter the transmitted hash or checksum to hide evidence of tampering.
To address these weaknesses, asymmetric key encryption signatures may be used to verify and authenticate. Asymmetric key encryption is very burdensome in additional time and processing resources, and substantially impacts the speed of encrypted communications, use of processor cycle, and use of network bandwidth. As a result, asymmetric key encryption is completely unsuitable for many instances of line speed data transmission over high speed modern networks.
As further example, a message sender using streaming ciphers or other ciphers to encrypt a plain text message uses a raw key or “root key” to generate a deterministic mature key, which is, in turn, used to encrypt the outgoing plain text message (e.g., typically in portions, such as one byte, word, or other sub-set of plain text at a time, which may be collectively referred to herein as a plain text portion or plain text block) usually using a cipher function or operator (e.g., such as the XOR native function). Upon receipt and decryption by a message recipient, the same shared raw key generates the same deterministic mature key on the recipient system, and the encrypted message can be decrypted on the recipient system using the same cipher function (e.g., such as the XOR native function). The above process provides no means for authentication or verification.
Using implementations of the disclosed novel technology, the generation of the deterministic mature key may be altered based upon current and prior encryption character(s)/portions (e.g., prior plain text portion, prior cipher text for plain text portion) as it is encrypted and decrypted, and as a result authentication becomes a trivial task and occurs as a byproduct of decryption. Varying streaming ciphers such as RC4, PiCypher, FISH, and ISAAC, as well as other streaming ciphers, block ciphers, and other cipher methods, benefit from such implementations by adding strong authentication of cipher text that occurs incidental to the basic function of the cipher and without substantial impact on computational resources. In such implementations, if even a single bit of the transmitted, encrypted data is altered, the deterministic mature key will be altered and thereby the resulting decrypted plain-text message will be garbled and usable.
In some implementations, a further authenticity feature may be implemented by appending a single arbitrary character value to the end of the plain-text message as it is encrypted to quantify the probability that any subsequent authenticity fault is organic or intended. When the mature key causes the last arbitrary character to be decrypted as a different character than expected, the bit size of that character value provides a quantifiable probability that this alteration was an organic error or an intended alteration.
As additional example of the above,
As an example of a novel encryption method as has been described above,
Notably, as one of the final steps of encrypting or decrypting each transmitted portion, the applicable system will create the evolving mature key that will be used for the encryption or decryption of the subsequent transmitted portion. Since the inputs that determine the evolving mature key are variable and unpredictable (e.g., message plain text portion, cipher text) for any party that is not the sender or recipient, a party intercepting the transmission will not have any predictable or deterministic information guiding their attempts to decrypt the data, meaning that the data also cannot be modified in an undetectable way.
While the figures and descriptions have shown that an evolving mature key can be created based upon a raw key, prior cipher text, and prior plain text portion, some or all of the disclosed advantages can be achieved by using only one of the prior cipher text and prior plain text portion in combination with the raw key. For example, in some implementations the evolving mature key may be created based upon the raw key and the prior cipher text, or may be created based upon the raw key and the prior plain text portion, and this method will still provide unpredictable, non-deterministic, and self-authenticating encryption and decryption over a sequence of transmissions.
The above is further illustrated by
Upon receiving the cipher text, the recipient may decrypt (606) the cipher text using a previously created and stored mature key, and may also determine and store (608) the evolving mature key for use with a subsequent portion transmission. The recipient may also compare (610) the decrypted arbitrary character to the expected character, and if there is not a match the system may quantify (612) the probability that the message has been altered with a high degree of confidence. Where the probability of alteration exceeds a threshold indicating likely alteration, the system may also provide (614) an indication of the probability of alteration (e.g., an alarm, a notification to a system administrator, flagging of the message in question, etc.).
It should be understood that any one or more of the teachings, expressions, embodiments, examples, etc. described herein may be combined with any one or more of the other teachings, expressions, embodiments, examples, etc. that are described herein. The following-described teachings, expressions, embodiments, examples, etc. should therefore not be viewed in isolation relative to each other. Various suitable ways in which the teachings herein may be combined will be readily apparent to those of ordinary skill in the art in view of the teachings herein. Such modifications and variations are intended to be included within the scope of the claims.
Having shown and described various embodiments of the present invention, further adaptations of the methods and systems described herein may be accomplished by appropriate modifications by one of ordinary skill in the art without departing from the scope of the present invention. Several of such potential modifications have been mentioned, and others will be apparent to those skilled in the art. For instance, the examples, embodiments, geometrics, materials, dimensions, ratios, steps, and the like discussed above are illustrative and are not required. Accordingly, the scope of the present invention should be considered in terms of the following claims and is understood not to be limited to the details of structure and operation shown and described in the specification and drawings.
This application claims priority to U.S. Provisional App. 63/311,772, filed Feb. 18, 2022, titled “SYSTEM AND METHOD FOR ENCRYPTION WITH EVOLVING MATURE KEY,” the entire disclosure of which is hereby incorporated by reference herein.
| Number | Date | Country | |
|---|---|---|---|
| 63311772 | Feb 2022 | US |