WO1998059456A2 - Method and system for performing secure electronic messaging - Google Patents

Method and system for performing secure electronic messaging Download PDF

Info

Publication number
WO1998059456A2
WO1998059456A2 PCT/US1998/012691 US9812691W WO9859456A2 WO 1998059456 A2 WO1998059456 A2 WO 1998059456A2 US 9812691 W US9812691 W US 9812691W WO 9859456 A2 WO9859456 A2 WO 9859456A2
Authority
WO
WIPO (PCT)
Prior art keywords
key
message
digit
formulae
digits
Prior art date
Application number
PCT/US1998/012691
Other languages
French (fr)
Other versions
WO1998059456A3 (en
Inventor
Paul Mcgough
Original Assignee
Secure Choice Llc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US08/879,708 external-priority patent/US6058189A/en
Application filed by Secure Choice Llc filed Critical Secure Choice Llc
Priority to AU84718/98A priority Critical patent/AU8471898A/en
Publication of WO1998059456A2 publication Critical patent/WO1998059456A2/en
Publication of WO1998059456A3 publication Critical patent/WO1998059456A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/002Countermeasures against attacks on cryptographic mechanisms
    • H04L9/003Countermeasures against attacks on cryptographic mechanisms for power analysis, e.g. differential power analysis [DPA] or simple power analysis [SPA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/60Digital content management, e.g. content distribution

Definitions

  • the present invention relates generally to methods and systems for performing secure electronic messaging, and more particularly to a method and system for performing secure electronic messaging between two public entities for any 81 or less character alphabet, to include any character that can be represented and transmitted electronically as unique and individual; e.g. the 26 English alphabet characters, foreign representations of those 26 characters, numbers, special characters such as "&" or " ⁇ ", representations of a message space (" "), etc. where in total, there are 81 or less unique entries in the alphabet used to create a message content.
  • the present invention is based on, and extends, the above mentioned patent application for performing secure electronic monetary transactions. This extension allows for performing secure electronic messaging using a private numeric encryption key system identical to that of the monetary system.
  • PKE Public Key Encryption
  • the present invention is therefore directed to the problem of developing a system for performing secure messaging that does not rely on complicated mathematics that can negate key attempts, separates key discovery from message discovery making even key attempts valueless, provides content and sender authentication, and uses a completely open architecture.
  • the present invention solves these problems by providing a secure message contents system that employs the fundamental mathematics of the related Secure Electronic Monetary Transaction System (SEMTS) invention in a new series of simple mathematics and software processes that create an individual and unique, twice-derived numeric message key; a key-based offset for the alphabet resolution; a key-based offset for the encrypted message content start; a key-based offset for inserting random message content obscuring characters, and a numeric "digital signature" for authentication of message content and sender verification - all from a single, securely distributed "original" numeric key that is impossible to obtain or derive through decryption - of a single, or set, of messages.
  • SEMTS Secure Electronic Monetary Transaction System
  • the system can be set so that the derived message key is of sufficient length to always guarantee a minimal "brute-force" attack time length to be measured in years - no matter the current technology; and the system guarantees that any "brute- force" attack will deliver only the derived message key, not the original key, and hence, only the content of the individual target message.
  • the system guarantees a mathematical and process impossibility of ever discovering or deriving the original key from the message key, therefore making the only attack point of the system of no value.
  • this invention delivers better "brute-force" security than the PKE systems by a user-defined magnitude, and completely limits “breaking the code” to the content of a singular message from a singular sender - every other message from that same sender using the same key are completely unrelated to the "break" of any one individual message.
  • the system of the present invention uses the SEMTS invention's nine mathematical formulas and two software code processes, along with three new software code processes and one simple addition formula to accomplish encryption and decryption composed of an 81 unique character alphabetical message of any content length.
  • step one is to establish the length of the private numeric key to be shared between the two public message entities. This length should be substantial enough to generate as true a random set of numbers for the key as manageable under the planned use by the two entities. There is no system minimal length, but it should be at least enough digits so that attempting all keys against a message is unreasonable. This is the "user-defined” value for determining the minimum "brute-force" attack period. (An example of this is that if the current technology can generate an average attack test scenario of one billion keys per second against a particular message, and the requirements of the system are to have the minimal average "break" time of one year for any one message, then the "original" key length should be set at 128 numeric characters.
  • the next step is secure external distribution of the keys.
  • the system of the present invention can be used to send content messages between the parties based on the distributed original keys.
  • the present invention provides a completely open messaging architecture between two public entities to accommodate and incorporate the true dynamics and purpose of secure messaging.
  • the purpose is not to absolutely secure just one single message - if it were, then hand deliver it.
  • the purpose and value of secure messaging is in the system as a whole; in using a system that delivers group message security that is unbreakable, and singular message security that is predictable and makes for an unreasonable effort to obtain and attack it.
  • the present invention has no new mathematical system; it uses the related SEMTS simple mathematical foundation that provides confidence and straightforward comprehension of the method - no theory is involved.
  • the additional mathematics in the present invention is the simple addition of two single digit numbers.
  • the system also delivers message content and sender authentication, which is not found in any other secure electronic messaging system.
  • the present invention makes the system small and self-contained so that it can be delivered easily to any institution wishing to incorporate the system into their messaging systems.
  • a method for encrypting a message includes the steps of calculating a numerical value corresponding to each digit of a source key by using each digit of the source key as an input variable to one of a plurality of formulae, thereby creating a message key, selecting the one of the plurality of formulae based on a corresponding digit of a random key, and distributing an alphabet of characters throughout a predetermined matrix for each individual message based on the message key.
  • One advantageous embodiment of the method of the present invention for distributing the alphabet includes the steps of: (i) determining an order fill pattern for the alphabet; (ii) determining a start position of an alphabet fill in the matrix from two predetermined digits of the message key; (iii) determining a start position of a blank fill from two additional predetermined digits of the message key; (iv) determining a blank separation value from two more predetermined digits of the message key; (v) determining a blank grouping value from two further predetermined digits of the message key; (vi) designating a plurality of blank positions in the matrix starting at a position in the matrix equal to a modular sum of the start position of the alphabet fill plus the stan position of the blank fill, continuing for a number of positions in the matrix equal to the blank grouping value, and then skipping a number of positions in the matrix equal to the blank grouping value; and (vii) distributing the alphabet in the matrix by starting at the start position of the alphabet fill and filling all positions not designated as blank
  • the method of the present invention further includes the steps of calculating a numerical value corresponding to each digit of the source key by using each digit of the source key as an input variable to one of a plurality of formulae, thereby creating the random key, and selecting the one of the plurality of formulae based on a second digit of the source key that is cyclically offset from each digit in accordance with a random number.
  • a further advantageous embodiment of the method of the present invention for selecting the one of the plurality of formulae includes the steps of: (i) using a digit of the random number corresponding to each digit of the source key to determine a cyclical positional offset from each digit of the source key; (ii) determining the second digit of the source key by cyclically moving a number of digits from each digit of the source key in accordance with the cyclical positional offset; and (iii) selecting another one of the plurality of formulae based on a third digit of the source key that is offset from the second digit of the source key by a predetermined amount if the one of the plurality of formulae returns a value of zero.
  • the method of the present invention further includes the steps of calculating a numerical value corresponding to each character of the message by cyclically using a corresponding digit of the message key as an input variable to one of a plurality of formulae, thereby creating an encrypted message, and selecting the one of the plurality of formulae based on a location in the matrix in which each character is stored.
  • Another embodiment of the present invention for developing the encrypted message includes the steps of calculating two numerical values corresponding to each character of the message by cyclically using two corresponding digits of the message key as input variables to a first one of a plurality of formulae and a second one of the plurality of formulae, respectively, thereby creating an encrypted message, selecting the first one of the plurality of formulae based on a column in the matrix in which each character is stored and selecting the second one of the plurality of formulae based on a row in the matrix in which each character is stored.
  • the method of the present invention further includes the step of modular summing pairs of digits of an original key according to a random number assignment of the pairs of digits of the original key to produce the source key, which has a length less than that of the original key.
  • an advantageous embodiment of the method of the present invention for performing the modular summing includes the steps of: (i) pairing a first digit of the original key with a second digit of the original key, wherein the second digit is offset from the first digit by a first cyclical offset amount; (ii) determining a first cyclical offset amount based on a digit of the random number corresponding in position to a position of the first digit; and (iii) selecting a next unused digit in the original key if the second digit paired in step (i) has already been paired with another digit of the original key.
  • Another advantageous embodiment of the method of the present invention further includes the steps of determining a number n by selecting predetermined digits of the source key, and inserting a plurality n of false characters at a beginning of the encrypted message for each message.
  • Yet another advantageous embodiment of the method of the present invention further includes the step of interspersing a plurality of false characters throughout the encrypted message.
  • a particularly advantageous embodiment of the method of the present invention further includes the step of determining a starting position, a separation value and a grouping value of the false characters using predetermined digits of the source key.
  • Another advantageous embodiment of the method of the present invention includes the step of appending an encrypted digital signature to each encrypted message that is completely unique and individual for each message that authenticates both a sender and content of the message as genuine.
  • the method of the present invention includes the step of determining a digital signature based on manipulating digits of the encrypted message in accordance with a predetermined algorithm.
  • one possible embodiment for the predetermined algorithm includes the steps of: (i) summing all position values for each integer from zero through nine used in the encrypted message; (ii) concatenating a resulting sum for each integer in order according to an order in which each integer first appears in a random number; and (iii) using a lowest to highest ordering for those integers that do not appear at all in the random number.
  • one particularly advantageous embodiment of the method of the present invention for encrypting the digital signature includes the steps of encrypting each digit of the digital signature by cyclically using each digit of the source key as an input variable to one of a plurality of formulae, and selecting the one of the plurality of formulae in accordance with a location of each digit of the digital signature in the matrix.
  • another particularly advantageous embodiment of the method of the present invention for encrypting the digital signature includes the steps of encrypting each digit of the digital signature by cyclically using two digits of the source key as input variables to a first one of a plurality of formulae and a second one of a plurality of formulae, respectively, selecting the first one of the plurality of formulae in accordance with a column in the matrix in which each digit of the digital signature is located, and selecting the second one of the plurality of formulae in accordance with a row in the matrix in which each digit of the digital signature is located.
  • one possible embodiment for encrypting the random number includes the steps of encrypting each digit of the random number by using each digit of the random number as an input variable to one of a plurality of formulae, selecting the one of the plurality of formulae in accordance with a cyclically corresponding digit of a base source key, and transmitting the encrypted random number as part of the encrypted message.
  • one possible embodiment for selecting the one of the plurality of formulae includes the steps of: (i) inserting a random digit in the encrypted random number when cyclically corresponding digit of the base source key equals zero; and (ii) using a next digit in the base source key to select the one of the plurality of formulae when the cyclically corresponding digit of the base source key equals zero.
  • one possible embodiment of the method of the present invention for generating the base source key includes the steps of pairing predetermined digits of the original key, and modular summing the paired digits of the original key to obtain the base source key.
  • a secure electronic messaging system includes the steps of: a) assigning to two distinct public entities, two identical original symmetric numeric keys of length n where n is an even number and of set length so that lxl 0" a is a substantial and agreed upon number; b) using a random number to assign and sum the digits of the original key by a formula that produces a source key one half a length of the original key; c) using a formula to assign and sum the digits of the original key as they appear in order in pairs to produce a base source key that is one half the length of the original key; d) using a plurality of formulae and the base source key to encrypt the random number and add a resulting encrypted random number to a message contents; e) using a first formula to sum a plurality of digits of the source key to generate a random key; f) using a plurality of formulae to generate a unique and individual message key from the random key and the source key; g)
  • a method for decrypting an encrypted message includes the steps of using a message key to uniquely distribute an alphabet into a matrix for the encrypted message, determining a location value of a character in the matrix by using a digit of the message key as an input variable to a plurality of formulae, and using a corresponding digit of the encrypted message as a return value of the plurality of formulae, thereby identifying which one of the plurality of formulae was used to generate the corresponding digit of the encrypted message, wherein a numerical order of the one of the plurality of formulae represents the location value, and outputting a character in the matrix at the location value previously determined, thereby outputting a decrypted message.
  • one possible embodiment for using the message key to uniquely distribute the alphabet includes the steps of: (i) using a predetermined order fill pattern for the alphabet; (ii) determining a start position of an alphabet fill in the matrix from two predetermined digits of the message key; (iii) determining a start position of a blank fill from two additional predetermined digits of the message key; (iv) determining a blank separation value from two more predetermined digits of the message key; (v) determining a blank grouping value from two further predetermined digits of the message key; (vi) designating a plurality of blank positions in the matrix starting at a position in the matrix equal to a modular sum of the start position of the alphabet fill plus the start position of the blank fill, continuing for a number of positions in the matrix equal to the blank grouping value, and then skipping a number of positions in the matrix equal to the blank grouping value; and (vii) distributing the alphabet in the matrix by starting at the start position of the
  • one possible embodiment for determining the location value first determines a column value of the character in the matrix by using a first digit of the message key as an input variable to a plurality of formulae, and using a first corresponding digit of the encrypted message as a return value of the plurality of formulae, thereby identifying which one of the plurality of formulae was used to generate the first corresponding digit of the encrypted message, wherein a numerical order of the one of the plurality of formulae represents the column value. Then, this embodiment determines a row value of the character in the matrix by using a second digit of the message key as an input variable to a plurality of formulae, and using a second corresponding digit of the encrypted message as a return value of the. plurality of formulae, thereby identifying which one of the plurality of formulae was used to generate the second corresponding digit of the encrypted message, wherein a numerical order of the one of the plurality of formulae represents the column value.
  • the message key is generated from the encrypted message and an original key.
  • One possible embodiment for generating the message key during the decryption process includes the steps of calculating a numerical value corresponding to each digit of a source key using each digit of the source key as an input variable to one of a plurality of formulae, thereby creating the message key, and selecting the one of the plurality of formulae based on a corresponding digit of a random key.
  • one embodiment for generating the random key during the decryption process includes the steps of calculating a numerical value corresponding to each digit of the source key by using each digit of the source key as an input variable to one of a plurality of formulae, thereby creating the random key, and selecting the one of the plurality of formulae based on a digit of the source key that is offset from each digit in accordance with a random number.
  • one embodiment for generating the base source key during the decryption process includes the steps of summing pairs of digits of the original key according to a predetermined assignment of the pairs of digits of the original key to produce a base source key, which has a length less than that of the original key, using each digit of the base source key as an input variable to one of a plurality of formulae, using a corresponding predetermined digit in a predetermined location within the encrypted message as a return value from the plurality of formulae for each digit of the base source key, thereby identifying which one of the plurality of formulae was used to generate the corresponding predetermined digit, and determining each digit of the random number from a formula number corresponding to the one of the plurality of formulae that was used to generate the corresponding predetermined digit.
  • one embodiment for generating the source key during the decryption process includes the steps of generating the source key by summing pairs of digits of the original key based on pair assignments obtained in a predetermined manner from a random number.
  • one embodiment for generating the random key during the decryption process includes the steps of generating each digit of the random key by using each digit of the source key as an input variable to one of a plurality of formulae, and selecting the one of the plurality of formulae based a first offset digit of the source key that is offset from each digit of the source key in accordance with a predetermined digit of the random number.
  • one particularly advantageous embodiment for selecting the formula includes selecting another one of the plurality of formulae based on a second offset digit of the source key that is offset from the first offset digit of the source key by a predetermined amount of digits if the one of the plurality of formulae in step g) returns a value of zero.
  • Another advantageous embodiment of the method of the present invention for decrypting an encrypted message includes the steps of determining a number n by selecting predetermined digits of the source key, and discarding a plurality n of false characters at a beginning of the encrypted message for each message.
  • Another advantageous embodiment of the method of the present invention for decrypting a message includes the step of discarding a plurality of false characters interspersed throughout the encrypted message.
  • one particularly advantageous embodiment of the method of the present invention includes the step of determining a starting position, a separation value and a grouping value of the plurality of false characters using predetermined digits of the source key.
  • Another advantageous embodiment of the method of the present invention includes the step of checking an encrypted digital signature appended to each encrypted message to determine if the message is authentic during the decryption process.
  • Another advantageous embodiment of the method of the present invention for decrypting each digit of the encrypted digital signature to obtain a decrypted digital signature includes the steps of: (i) using a corresponding digit of a source key as an input variable to a plurality of formulae; (ii) using each digit of the encrypted digital signature as a return value of the plurality of formulae, thereby identifying which one of the plurality of formulae was used to generate each digit of the encrypted digital signature; (iii) using a numerical order of the one of the plurality of formulae identified in step (ii) as a location value in the matrix; and (iv) outputting a character stored in the location in the matrix.
  • Another advantageous embodiment of the method of the present invention for decrypting the encrypted digital signature by decrypting each pair of digits of the encrypted digital signature includes the steps of: (i) using two corresponding digits of a source key as input variables to a plurality of formulae; (ii) using a first digit of each pair of digits of the encrypted digital signature as a first return value of the plurality of formulae, thereby identifying a first one of the plurality of formulae that was used to generate the first digit of each pair of digits of the encrypted digital signature; (iii) using a numerical order of the first one of the plurality of formulae identified in step (ii) as a row value in the matrix; (iv) using a second digit of each pair of digits of the encrypted digital signature as a second return value of the plurality of formulae, thereby identifying a second one of the plurality of formulae that was used to generate the second digit of each pair of digits of the encrypted digital signature; (v) using a
  • one particularly advantageous embodiment of the predetermined algorithm includes the steps of: (i) summing all position values for each integer from zero through nine used in the encrypted message; (ii) concatenating a resulting sum for each integer in order according to an order in which each integer first appears in a random number; and (iii) using a lowest to highest ordering for those integers that do not appear at all in the random number.
  • the real goal then, of a completely secure messaging system is not to guarantee every single message's encrypted integrity, but rather to guarantee all messages are secure.
  • the measure of a secure messaging system is to deliver each message as if it were individually encrypted so that the system cannot be attacked, and for each individual encrypted message to be so difficult to decipher as to make it a completely worthless endeavor to try. Understanding the concept and goals of a secure messaging system is paramount to meeting the major goal of encryption - making key derivation impossible.
  • the best possible outcome of a secure messaging system is to provide an impossible to derive system or original key, and an individual message key that can be broken only by applying a tremendous amount of time and effort through a "brute- force" key trial attacks, and then having the message key not lead to the original key.
  • the present invention is the first secure messaging system to deliver on this "best of breed" scenario.
  • the present invention delivers on another crucial secure electronic messaging criteria - an open architecture.
  • an open architecture delivers the system value directly to the user. There is no fear in using a system that can be stolen but never is because the stolen goods have no value.
  • the openness of the system creates user confidence and allows the focus of the system to be in the physical aspects - key distribution, key theft, software authentication, etc. These are the constants in any secure messaging system, and the present invention finally transfers the burden of absolute security from the messages themselves back to physically operating the system.
  • the secure electronic messaging system (SEMS) of the present invention is designed to deliver complete, open architecture secure messaging through unbreakable original symmetric keys that produce an individual, unique message key for every message sent.
  • the system uses private keys and the mathematics of the Secure Electronic Monetary Transaction System (SEMTS) - which is the subject of the parent patent application and which has already been incorporated by reference - for securing any n digit financial transaction.
  • SEMTS Secure Electronic Monetary Transaction System
  • the original keys (O ⁇ used for the current system are identical to those in the SEMTS in that they are composed of numbers 0 through 9, have a minimum length determined by the two public entities using the system and that they are of even length; an example original key is "1830596874".
  • the first process for every message is to generate a random number that is the length of the original key. [There are several fine software algorithms for generating "true" random number sets.
  • the second process of the SEMS is to encrypt the message to be sent.
  • This process includes various sub-processes, the first of which is translating the Original Key (07) into a Message Key (M j J for every message to be sent.
  • the Message Key (M f J is a derivative of the Original Key, and its creation through the encryption process guarantees that it cannot lead to "reverse" discovery of the Original Key (OjJ through any mathematics - the only way to generate the Message Key (M j J without the Original Key (07) is a brute force attack on the message. It must be remembered that by using the present invention, the system would be set so that the brute force attack on this singular message key is a meaningless endeavor.
  • the SEMS encrypt process delivers absolute security of the Original Key (O j M) by translating it into a message key (M j J.
  • the key creation sub-process of the encrypt process starts by using simple addition to combine pairs of digits of the original key (digit pairs selected using ⁇ , see Example) to produce an intermediate Source Key (S j J that is one half the original key length. From the same example original key, "1830596874", a possible message key would be "93441" (assuming a Random Make number R M of "1 1111").
  • the simple addition formula used to combine the digit pairs in this example is: x +.y MOD(10) where x is one of the original key digits, and_y is another.
  • This first derivative key, the Source Key (ST) "93441" is made up of digits that are the result often (10) possible digit pairs that could have composed them; e.g., the "9” could result from 10 possible digit pairs - 9+0, 8+1, 7+2, 6+3, 5+4, 4+5, 3+6, 2+7, 1+8, 0+9. Regardless of the other processing that will occur, this multiple parent digit trait already makes it impossible to positively identify the original key!
  • Random Key R r
  • R r Generate Random Key
  • R r the next part of the key creation process is to generate a Random Key (R ⁇ .
  • This random key has one specific characteristic that must be met in order to provide a message key that will be able to use the SEMTS formula set to encrypt a message. This characteristic is that none of the Random Key (R j J values can be a zero (0) . This is due to the fact that for the remainder of this creation process, and the encryption, the present invention's SEMS will be using the SEMTS nine formula system for encrypting and translating one number into another.
  • the SEMTS has nine mathematical formulas that when one inputs a numeric into the set of formulas, the returned translated number could be any number, except itself. These formulas result in a matrix of return values, based on the input into the system. The matrix is shown here for reference:]
  • the SEMTS system has input and formula values for translating numbers.
  • the Random Key (K ) will be used as the formula value, and since there are only nine formulas, the Random Key (R j J cannot have a zero.
  • the key value is used as the formula value.
  • the key value is zero, then a random number is generated during encryption - and ignored during decryption. But this must be avoided in this invention's encryption process because the random number insertions would interrupt the trail between the Original Key (07) and the Message Key (MT).
  • the Random Key (RT) is produced by using the Source Key (S ) digit values.
  • the sub-process cycles through the Source Key (ST) digit values starting at the first digit and using that as the SEMTS input value; and taking the xth digit of the Source Key (ST) value for the formula, where x is determined by using the Random Make number (R ).
  • R Random Make number
  • the offset is a "4", and that means to use the value of "1" from the S ⁇ .
  • the offsets always move to the right in all SEMS encryptions, and they cycle back to the first digit if they fall off the "end” of the value used.
  • the return value is a "0" from the matrix.
  • the encrypt process continues with the creation of the Message Key (MT).
  • This final message encryption key is created with one more pass through the SEMTS encryption matrix to further remove the real encryption key from the Original Key (OT).
  • OT Original Key
  • Each digit of the M ⁇ is produced by using the corresponding position in the S ⁇ as the SEMTS input value and the R ⁇ as the formula (it is never zero).
  • the M ⁇ is now twice removed from the O ⁇ .
  • the next sub-process of the encrypt process for sending a secure message using the SEMS is to place the message alphabet into its Segment Matrix.
  • the Segment Matrix is a 9 by 9 matrix that has 81 places for up to 81 unique characters, one of which will be set aside as a "Shift" character to differentiate upper and lower case letters (language dependent). The following is the matrix by position:
  • the Segment Matrix alphabet distribution should be "fixed” in that for the entire messaging system (all parties sending/receiving like messages) the order in which the characters appears is fixed, but the position in the matrix can move. This adds even more difficulty to the brute-force attempts, in that now for every key attempt, there will be a minimum of 81 different alphabets to try (the fixed order starting in position 1, then in position 2, etc.). Depending on the number of blanks in the alphabet, the number of alphabets to try per attempt increases significantly.
  • the formula for calculating the number of alphabets to try (and since this is an open system, it will be a known alphabet order and known number of blanks): n
  • each message will generate a unique alphabet based on selecting two static digits from the message key that are less than or equal to 81, and the resulting number will be the start position of the Segment Matrix for that message. If there are blank positions in the matrix, then each message will select other static digits of the message key to use for distributing the blanks throughout the alphabet.
  • the next sub-process of the encrypt process is to create and insert a random number of false characters into the message at the start so as to create a non-uniform distribution of the beginning of the message, and disrupt the "grammar" rules for finding meaningful language.
  • the manner in which the SEMS performs this insertion is to pick two static digits from the Source Key (SjJ. This will mean that anywhere from 0 to 99 false characters will be inserted at the message start to add to the difficulty of the brute force message key attempts. Adding another one hundred trials makes each key attempt that much slower and more difficult to perform.
  • Every message content must now be tested using the same key starting at the n+z+1 digit of the encrypted message through the n+z+ 100 digit of the message (the first n digits are the Random Make digits (R ⁇ ) and this is a known system parameter; the z digits are unknown.
  • the z digits are however many zero's are in the Random Make number (R M ).
  • R ⁇ J Random Make number
  • the SEMS can encrypt the message contents.
  • This sub-process makes it even more disruptive to find the "grammar" rules in the message. This is because the process will take static numbers from the Source Key (ST) to insert false digits in a pattern into the encrypted message contents every x digits that are being stored. This means that even with the M ⁇ message key for the individual message, without the S ⁇ source key also, decryption is limited to the first x-1 characters. Unless one discards the correct inserted false characters, the remainder of the message will not properly decrypt!
  • the brute force scenario for finding the M ⁇ message key has now been made much more difficult. Since the false characters are inserted with a start, group and separation value, every brute force key attempt must be checked against all of the possible start, group and separation permutations - making individual message decryption more and more difficult and less and less valuable.
  • the sub-process takes the message content one unique character at a time, finds it in the alphabet Segment Matrix, tests if it is a capital letter, and if so gets the "shift" matrix settings also. All of the Segment Matrix returns are two numbers - one is the segment number and the other is the column number. Each individual number return is then encrypted through the SEMTS encryption matrix using the Message Key (MT). First the "shift" matrix segment and column is sent if the character was a capital letter, then the segment and column of the character is sent.
  • MT Message Key
  • the encrypt process is now complete for all the derived keys, the alphabet, the false priming of the message and the actual contents.
  • the Random Make number (R ⁇ M ) determines where to point in all the keys for various offset items, and is used to determine the source key (ST) , and the random key (R , and indirectly, the final message key (MT)-
  • the Random Make number (Rj has absolutely no meaning in decrypting the message without having the Original Key (OT, therefore this number is sent as the first n characters of the message.
  • the number is passed through the encryption matrix using a "base" Source Key (ST - a source key created using the digit order of the O ⁇ That process makes it twice removed (O ⁇ to "base” S ⁇ and then through the encryption matrix) and impossible to decipher in and of itself.
  • the R M can then be passed along with the remainder of the message key encrypted contents. All of the key creations between one key definition to another are impossible to "break" - they are limited to a guess. This is due to the "ideal key” presentation in the patent for the SEMTS.
  • an "ideal key” is one which is at least as long as the content to be encrypted and can return all the same possible outcomes for every input.
  • An ideal key has translated every individual piece of the content into the same output.
  • the source could be three identical digits, but it also might be any other digit too! (The SEMTS "ideal key” approach returns every other output digit other than the input value; so in this example, the only known thing is that the source number is not "444".)
  • the encrypt process now formats the encrypted message to contain the following:
  • the last sub-process of the encrypt process of the present invention is to generate a "Digital Signature" (DS) for each message.
  • DS Digital Signature
  • This DS is the authentication capability of the SEMS that is completely unique to the present invention and no other secure messaging system. All other systems must rely on external capability and systems to provide the two authentication areas - content and sender.
  • the present invention offers both types of authentication in a single DS appended to each message.
  • Sender authentication is inherent in the symmetric key approach used by the present invention. There is simply no way to create a message that will decrypt through the Source Key, the Random Key and the Message Key using a Random Make number unless it is all created from the correct Original Key.
  • the manner in which the SEMS creates a DS for content authentication and appends it to the message is based on the numeric format of the encrypted contents.
  • the content of the message is, so far in the process, an uninterrupted string of numbers - consisting of various things, but all concatenated together into one long list.
  • the sum of the digit 4 is 6.
  • the first step in the DS is to sum all of the position values for each of the ten digits. (If there are none, the sum is 0.)
  • the purpose of summing the positions is that they cannot now be touched.
  • the SEMS is an open architecture system, so the string of numbers is sent unprotected into the public sector. But this openness provides a great measure of security in tfiat the numbers cannot be manipulated at all or the sum of the positions will no longer be the same. If a digit is moved, altered or deleted, the sum of the positions changes. There is no way to add a "2" or change it to a "3" or remove it, without the position value sums being changed.
  • the SEMS accomplishes this by first arranging the DS in a manner dictated by the non encrypted Random Make number R M .
  • the DS is concatenated together by the order of appearance of the digits in the R M random make number; e.g., if the first number of the R M random make number is an "8", then the first n characters of the DS is the summed number of the positions for the digit "8".
  • the next piece of the DS is the next number appearing in the R M random make number.
  • the DS string is now "ordered", it is ready to be encrypted and then appended to the message contents.
  • a carriage return and line feed are added to the existing encrypted contents.
  • the DS is then appended to the message after sending each individual number through the encryption matrix as if it was a part of the message, but using the
  • the "base” Source Key S ⁇ instead of the Message Key M ⁇ .
  • the "base” Source Key S ⁇ is also used to encrypt the Random Make number R M .
  • the reason for using the "base” S ⁇ is if the M ⁇ is discovered through brute force, and the DS was not uniquely encrypted, it would be possible to send false messages using that key by re-calculating the DS after forging a message and encrypting it using the cracked M ⁇ . This also would lead to knowing the order of appearance ' of the digits in the Random Make number R M , even though that is not the entirety of the number, nor even the correct beginning (there could three "8"s to start the number), this exposure can be avoided by using the "base” Source Key S ⁇ .
  • the DS guarantees content authentication because if it does not resolve back to the correct position sum of the contents, then the message is considered invalid. If either the contents or the DS is touched, then they will no longer equate. And it is fantastically improbable to properly touch both the content and the DS and have them equate - even more impossibly to do that meaningfully.
  • the code logic for the Encrypt Message process of the present invention is: Message encrypt
  • R M is the returned Random Make number Call Random(R M )
  • FCsl (Digit n of SMessageKey)(Digit n+1 of SMessageKey)
  • Encrypt Message process is: SetSegments
  • MKn Last Digit of key !n is equal to the start digit in the key where the code will begin looking for a valid number to return Pick Alphabet Start Position
  • Segment Matrix is ready for Encryption or Decryption
  • the Decrypt process is a straightforward application of the existing sub- processes against the message contents, testing the authenticity and revealing the message.
  • the first step that must be taken is to generate a "base" Source Key S ⁇ from the Original Key O ⁇ .
  • Source Key S ⁇ The "base" Source Key S ⁇ is used to decrypt the first n digits of the message
  • Random Make number R M is now available to follow the exact same steps as in the Encrypt process to create a message Source Key S ⁇ , a Random Key R ⁇ and a Message Key M ⁇ .
  • the key set that is decrypted using the Original Key O ⁇ will be used to decrypt the message contents, provided the message is authentic.
  • the "base" S ⁇ source key is used to decrypt the DS into the ordered sum of the positions; which is further decrypted back to the individual position sums of each digit using the decrypted R M random make number digit appearance order.
  • the original message contents are position summed and then compared to the decrypted DS, and if there is a discrepancy, then the message is invalid. This can happen for several reasons including transmission errors, so one of the major benefits of the present invention is to simply re-send the message since an individual message error is insignificant, and the system as a whole is not impacted at all. If the message is indeed valid, then the M ⁇ message key is used to decrypt the message bo ' dy, after the false characters have been discarded using the S ⁇ source key.
  • the code logic for the Decrypt Message process of the present invention is:
  • COMPANY_A and PERSON_B are two public entities who wish to send secure messages to each other.
  • the first step for these two entities is to agree on the original key that will be used to secure the messages.
  • the Original Key O ⁇ to be used for their messaging is "8507734814".
  • Step 2 Generate "Base” Source Key S ⁇
  • PERSON_B wishes to send the following message to COMPANY_A: "Hello there! (message does not include the quotes).
  • the SEMS will be used to secure the message, and the first step is to create the Random Make number R M of equal length to the length of the Original Key O ⁇ .
  • the Random Make number R M is generated by a random number generation process, and for this message, the number is "2039173064".
  • Step 4 Generate Source Key S ⁇
  • the SEMS will generate the "key suite" of the S ⁇ source key, the R ⁇ random key and the M ⁇ message key. These values use the SEMTS encryption matrix listed elsewhere in the detailed section of this document.
  • the Source Key S ⁇ uses the first five digits of the Random Make number R "20391" and the entire Original Key O ⁇ to become "82575". This is created by taking the "8" first digit of the Original Key O ⁇ and looking two digits to the right (from the number "2" in the R M random make number) and summing those numbers ("S"+"0 " ), the resulting number is "8". Since the Original Key O ⁇ digits are used only once to create the S ⁇ source key of half the length, the used digits are tracked.
  • the next unused digit ("5") of the O ⁇ is summed with the "7" of the Original Key O ⁇ .
  • the "7” is arrived at by using the "0" from the R M random make number, which is used to look up the tenth digit of the Original Key O ⁇ . Since the tenth digit falls off the end, then it cycles back to the start. When counting digits in the "pull” from the key, all the digits are counted, whether used or not. The tenth digit returns back to the same "5" that is being used for this creation, which is not available, so now the process will move one digit to the right and see if this is available.
  • Step 5 Encrypt Random Make Number R M
  • the next step in the SEMS process to send PERSON_B's secure message is to encrypt the R M random make number and ready it for inclusion in the message.
  • the R M random make digits are passed through the SEMTS encryption matrix as input values and the "base" S ⁇ source key digits are used as the formula values (zero's are treated by the SEMTS as random inserts - making derivation of the R random make impossible without the original key).
  • the resulting R M E random make encrypted number will be sent as the first n digits of the message. (This step can occur anywhere in the process provided it is prior to formatting and sending the message.) Using matching digit positions, the encryption matrix pairs are [2,3], [0,7]
  • the Encrypted Random Make number R M E result out of the SEMTS encryption matrix is "578544415591" where the third and eighth digits, "8" and "1" are random inserts.
  • the "base” S ⁇ source key is a known entity derived directly from the Original Key O ⁇ . the random inserts into the R M random make will be discarded.
  • the ' next key derivative to create in the message suite is the R ⁇ random key.
  • This key uses the just created Source Key S ⁇ and the Random Make number R M in a slightly different manner than the previous pull from the Original Key O ⁇ .
  • a "0" is used as a 0, not a 10; the Source Key S ⁇ numbers can be reused, and when cycling around the edge of the key, when landing on the number already being used for the key generation, it can be used as the formula value also.
  • these number pairs are not added, but are passed through the SEMTS encryption matrix to return a value.
  • the first digit of the Source Key S ⁇ is an "8", and using the first digit of the
  • R M random make number "2" that creates an input value of "8” and a formula value of "5" to be passed through the matrix.
  • the rule of never returning a zero must be enforced.
  • the next digit of the S ⁇ is "2” and the R M random make is a "0”, so the digit pair to pass through the matrix is [2,2], yielding a result of "4".
  • the next digit pair is [5,8], the five coming from the S ⁇ and the "8” being the third digit to the right, after cycling back to the start.
  • the third digit lookup comes from the "3" in the Random Make number R M .
  • the last two digit pairs are [7,5] and [5,8], which when passed through the encryption matrix yield a "2" and a "3” respectively.
  • the final Random Key R ⁇ is "34323".
  • Step 7 Generate Message Key M ⁇
  • the last key to generate in the message key suite is the Message Key M ⁇ that will be used to encrypt the contents.
  • this key is created as an encryption matrix pass through using the S ⁇ source key as the input values and the R ⁇ random key as the formula values.
  • the encryption matrix pairs are [8,3], [2,4], [5,3], [7,2], and [5,3], where the 8,2,5,7,5 come from the Source Key S ⁇ and the 3,4,3,2,3 come from the Random Key R ⁇ .
  • the M ⁇ message key result out of the SEMTS encryption matrix is " 16898".
  • the next step is to distribute the alphabet into the Alphabet Order Segment Matrix. This is accomplished on a per message basis from an agreed upon "master" order of the occurrence of each alphabet member. For this example message, the order of the alphabet will be as listed in the Example matrix earlier in this document. This alphabet has nine (9) blank spaces in it, and in order to distribute it for this individual message, some static Message Key M ⁇ digit positions are used. These static positions are agreed upon for all users of the system, including COMPANY_A and PERSON_B. There are four offset numbers required to set the segments: 1. The start position for the alphabet fill, 2. the start position of the blank fill, 3. the blank separation value, and 4. the blank group value.
  • the four numbers will be created from M ⁇ digits 2 and 5, digits 1 and 2, digit 5 and digit 1 ; yielding numbers "68", "16", “8” and "1".
  • the Segment Matrix has the following distribution:
  • the next encryption step is to insert a set of false characters into the message contents so that each key attempt of a brute force attack on the message must test a wide range of start positions for the real message contents.
  • the manner in which this is done is to pick two system predetermined static digit positions from the S ⁇ source key and then use the values at those digits to represent the number of false digits.
  • the digits will be the second digit (which happens to contain a "2") and the fifth digit (which also coincidentally happens to contain a "5") producing a value of "25".
  • This means that the encrypted contents will have 25 random numbers inserted into the contents string of encrypted numbers prior to the real start of the message. (If the second digit was a "9" and the fifth digit was a "1", then 91 false digits would have been generated.).
  • Step 10 Encrypt Message Contents
  • the message encryption is a straightforward use of the SEMTS encryption matrix using the Message Key M ⁇ in sequence as each input value; and inserting the false encryption numbers during the process.
  • Each formula value is first the alphabet segment of the message character and then the alphabet row of that character. If the character is a capital letter, then the segment and row of the "shift" character is entered firsf, then the letter segment and row.
  • To encrypt PERSON_B's message the following is the sequence.
  • the brackets are the pair of digits to send into the encryption matrix, with the input value first, then the formula: shift segment [1,3] yields encrypted result "4" shift column [6,2] yields "8"
  • Step 11 Insert False Encryption Numbers Inside Message
  • the S ⁇ source key is used.
  • a start value There are three positions that must be chosen to insert the false characters - a start value, a separation value and a group value. These can be either one or two digits long (or longer), and are chosen at a system level for the SEMS to be used by all message participants.
  • the false start value will be position 3 of the S ⁇ source key
  • the false separation value will be position 4
  • the false group value will be position 2.
  • These positions yield a start of "5", a separation of "7" and a group of "2”. So the encrypted message contents will now be seeded with a false random number group of two digits every seven numbers starting on the fifth position.
  • the encrypted message contents will now be:
  • the total encrypted message output so far is made up of the R M E , the encrypted R M random make number, then the 25 false characters, then the encrypted message contents. This yields:
  • the underlined characters represent false characters that will be discarded during the decryption process.
  • Step 12 Create Digital Signature
  • the final process in the message send is now the authentication string, or
  • the number 7 total 363
  • the number 8 total 181
  • the number 9 total 205
  • the number 0 total 217
  • the numbers do sum to the total of the 71 digits, which is 2556.
  • it is first ordered by the first occurrence (i.e., appearance) of the digits in the R M random make number, 2039173064: 1 14 217 126 205 305 363 254 374 (The spaces are there for demonstration).
  • the numbers that do not appear in the R M random make number are 5 and 8, and these are added from low to high; the final order for the DS is: 114217126205305363254374417181.
  • Step 13 Encryption of the Digital Signature
  • the DS will now be encrypted and appended to the message.
  • the S ⁇ source key of 82575 will be used to encrypt it.
  • the DS is passed through the SEMTS encryption matrix using the S ⁇ source key in sequence.
  • the numbers are pulled just like the message contents first by segment and then column.
  • the resulting bracket pairs are: The number 1 segment [8,5] yields "3"
  • the number 1 column [2,6] yields “8”
  • the number 1 segment [5,5] yields "0”
  • the number 1 column [7,6] yields "3”
  • the number 4 segment [5,3] yields "8”
  • the number 4 column [8,4] yields "2"
  • the final encrypted sequence for the DS is: "380382192171034299695105709423042170192316794759093S460491 2 1 "
  • the formatting has a minimum size of the R M E encrypted random make number, all of the false digits, and the DS - which increases in size at a much smaller rate than the message size. So after the minimum message formatting, the encrypted message is roughly twice the size of the original message, and the longer the message, the closer it is to that ratio.
  • Step 1 Applying "Base" Source Key S ⁇ to the First n Digits of Message
  • the decryption process for COMPANY_A to decipher the message is a simple application of the same key creation after reading in the R M E encrypted random make number and applying the Original Key O ⁇ .
  • the known values at the start of a decryption are the Original Key O ⁇ and the "base" S ⁇ source key Decryption begins by applying the "base" S ⁇ source key to the first n digits of the message, e.g., the R M E encrypted random make number.
  • // is equal to 12 digits - but the process knows to return the first 10 real digits, which is the length of the Original Key O ⁇ and the therefore the R M random make numbei
  • a "reverse" SEMTS encryption matrix (function) is created to return the original input value based on the known function and the kno n "return" value that is being passed in “backwards.”
  • the decryption process stai ts w ith the first digit of the encrypted message, "5"
  • the "reverse” SEMTS function is called with its first digit "3" and t e ⁇ '
  • the "teverse” SEMTS encryption matrix looks in the third formula row for a ⁇ elm n value of "5".
  • the input value for that is a "2”
  • the first digit of the Random Make number R M Continuing this process, the second message digit is a '"7" and the S source key second digit is a "7" also.
  • Step 2 Use R M to Derive S ⁇ , R ⁇ and M ⁇
  • the R M is used to derive and decrypt the remaining keys - the Source Key S ⁇ , the Random Key R ⁇ and the Message Key M ⁇ .
  • COMPANY_A now has the same "start" knowledge for this message as PERSON_B did when encrypting it: the Original Key O ⁇ and the "base” Source Key S ⁇ are shared, and now the Random Make number R M is known. From these, the same processes that derived the "key suite" during encryption is performed, and now COMPANY_A is ready to determine if the message is genuine.
  • Step 3 - Authentication a) Decrypting Digital Signature Using Source Key S ⁇
  • the process of content and sender verification begins by decrypting the message Digital Signature with the Source Key S ⁇ . This is done using the SEMTS "reverse" matrix with the known values being the result and the input. Passing all of the message encrypted DS numbers through will yield the segment and column values for the real DS numbers as they appear in the alphabet matrix.
  • Sender verification is inherent in the "key suite" set for any individual message - if the Random Make number R M that is derived as the first step in the decryption process leads to a key suite that does not return the message to a readable or expected content, then the message could not have been generated using the expected Original Key O ⁇ for PERSON_B.
  • COMPANY_A would simply institute a system of account numbers that can be placed as a header in any SEMS encrypted message. The account number then points to an Original Key O ⁇ that is used as the basis for decrypting the enclosed message. If the account number Original Key O ⁇ does not open the message, then the message is not valid, and could not be from the designated sender.
  • Step 4 Distribute Master Alphabet into Alphabet Order Segment Matrix
  • the decryption process next uses the Message Key M ⁇ to distribute the master alphabet into the Alphabet Order Segment Matrix for this message.
  • Step 6 Decryption of Remaining Encrypted Numbers
  • each remaining encrypted number is sent through the "reverse " SEMTS matrix with the known values being the result and the Message Key M ⁇ being the input value.
  • the number is only sent through if the digit is not a false number d ⁇ _ ⁇ i inserted by the start, separation and group values returned from the Som ce K ' ev S Based on these static digit positions, if the number is false it is ciiscarded. and i noi . n is decrypted.
  • the static values for our example are a false start value from position of the Source Key S ⁇ , the false separation value from position 4 and the false group value from position 2. These positions yield a start of "5", a separation of "7" and a group of "2".

Abstract

A secure electronic messaging system (SEMS) provides absolute system security and user-defined message security for electronic messaging between two public entities. These messages can be of any kind provided the contents are created using a defined master alphabet of 81 characters of less. The SEMS encrypts and decrypts source message data using a series of message keys that are derived from a private, numeric orginal key known only by both parties sending and receiving messages. The message key suite absolutely secures the original key from discovery. The secure distribution of these original keys will be under the same methods that the public entities would use to discover each other such as an opening an account, making a public inquiry for membership, etc. The SEMS translates message content character into number based on a message key suite dependent distribution of the master alphabet and then uses a series of equations to encrypt the numbers.

Description

METHOD AND SYSTEM FOR PERFORMING SECURE ELECTRONIC MESSAGING
RELATED APPLICATIONS This application is a continuation-in-part of U.S. Patent Application No.
08/879,708 filed on June 20, 1997 by the same inventor, entitled "Method and System for Performing Secure Electronic Monetary Transactions," which is hereby incorporated by reference as if recited herein in its entirety, including the drawings.
BACKGROUND OF THE INVENTION
The present invention relates generally to methods and systems for performing secure electronic messaging, and more particularly to a method and system for performing secure electronic messaging between two public entities for any 81 or less character alphabet, to include any character that can be represented and transmitted electronically as unique and individual; e.g. the 26 English alphabet characters, foreign representations of those 26 characters, numbers, special characters such as "&" or "{", representations of a message space (" "), etc. where in total, there are 81 or less unique entries in the alphabet used to create a message content. The present invention is based on, and extends, the above mentioned patent application for performing secure electronic monetary transactions. This extension allows for performing secure electronic messaging using a private numeric encryption key system identical to that of the monetary system. The mathematics and processes of the messaging system use the fundamental capability of the monetary system, but in distinct and separate manners maintaining the absolute security of the key for both sets of information. Existing secure messaging systems include private and public key encryption systems. These types of systems rely on creating sufficiently large codewords such that the time required to break the code by simply trying all possibilities ("brute force" decryption) is extremely large. Securing a message transfer between two public entities can be done in a variety of ways. But no matter the manner chosen, the goal is to positively transfer the message contents through the public sector without the contents being discovered and used or read by anyone other than the intended recipient. This need for positive and secure messaging increases significantly along with the value of the information being passed. Various systems have been developed through the years to perform messaging and the public record is well documented with both success and failure. The major component of almost every system developed is an encryption key that is used to translate information from source text to cipher text and back to source text. A message content key is just like a physical one - it is used to unlock or, in this case, secure data. All modern secure systems use keys of one type or another. The only difference between a message key and a physical one is that besides losing it or having it stolen, it can also be derived ("broken") or discovered. The major weakness with public transfer of information is key discovery. Not the physical issues with loss or theft, which are faults that cannot be removed from any key-based system, but deriving and using a key without authorization.
The current electronic age has ushered in a dramatic increase in the need for secure messaging, and new methodologies have been developed to attempt to meet the demand. The main new capability that has been unveiled is to use systems based on a concept called Public Key Encryption (PKE). These systems were developed to solve the supposed faults of the private key methods used in the past. A private key system is one in which only those who intend to share information will all posses the same key. The private key systems supposedly have a major fault: the secure distribution of the private key to the intended recipients and only to those recipients. PKE introduced a concept in which there are dual keys - one public and one private. The public key is freely distributed to anyone who wishes to transfer information to the entity holding the single private key. This dual key approach therefore solves the fault by not having to distribute a private key. The entire basis for PKE methods are the mathematically large disparity between decrypting the public key created cipher text with the PKE private key, which is very rapid and simple to do (polynomial time computation), and working through the possibilities without the key, which theoretically takes a very long time (factoring, requiring exponential time computation). The systems are theoretically secure because the combination of the public key and the source information generate this theoretically long time to factor the possibilities without the PKE private key. The reason this is theoretical is that it is possible to develop a unique set of mathematical equations or even a single algorithm for either mimicking or rapidly factoring an integer in polynomial time, although no solution has been published to date. Alternatively, faster computers are always shortening the problem. Proposals have even been made to develop "quantum computers" that would perform these computations in a fraction of the expected time. Consequently, the controversial issue with these methods is that if the math were to be developed, or the shortcut found, then the security of these PKE systems completely and instantly evaporates.
The fundamental problem with these PKE systems is that they have been introduced as saviors of the faults of a private key system; and while supposedly solving this problem, they have introduced uncertainty into the core issue with all encryption systems: unauthorized discovery of the key - now matter how sophisticated the mathematics.
In relation to securing language-based message contents, the PKE systems have several major flaws:
1. The mathematics of the systems can be broken instantly by the theoretical development of algorithms for factoring large relatively prime numbers, which PKE is based on; e.g., message decryption is not solely dependent on "brute force" attempts of every possible key combination;
2. The derivation of a single message key reveals the private key for all messages sent using the corresponding public key, e.g., once the key is discovered, and the discovery kept secret, all messages being sent with a key set can be broken and read; 3. The PKE systems do not account for the single most important factor in secure messaging - authentication, of both the message's sender and the content condition (touched/untouched); e.g., the major benefit of using PKE is to not have any concern for the public distribution of the keys. Yet because the system cannot in and of itself perform any authentication (all send using the same public key), secure messaging using these systems then requires the additional use of another external system to perform the authentication which completely negates the use of PKE for secure messaging.
The present invention is therefore directed to the problem of developing a system for performing secure messaging that does not rely on complicated mathematics that can negate key attempts, separates key discovery from message discovery making even key attempts valueless, provides content and sender authentication, and uses a completely open architecture.
SUMMARY OF THE INVENTION
The present invention solves these problems by providing a secure message contents system that employs the fundamental mathematics of the related Secure Electronic Monetary Transaction System (SEMTS) invention in a new series of simple mathematics and software processes that create an individual and unique, twice-derived numeric message key; a key-based offset for the alphabet resolution; a key-based offset for the encrypted message content start; a key-based offset for inserting random message content obscuring characters, and a numeric "digital signature" for authentication of message content and sender verification - all from a single, securely distributed "original" numeric key that is impossible to obtain or derive through decryption - of a single, or set, of messages.
To decode a particular message, one must know the alphabet offset, the random content offset, the random content obscuring insertion offset and the twice- derived numeric message key used to encode the content; these are all derived from an "original" securely distributed key that cannot be obtained from the message. Therefore, in order to "break" anything in the system, the only method available is a "brute force" attack on a single message. This attack would reveal, after an extremely long time period, that singular derived message key and the contents only. All other messages sent by the system using that original key are still one hundred percent secure and appear to any decryption effort as completely "new key" messages.
The system can be set so that the derived message key is of sufficient length to always guarantee a minimal "brute-force" attack time length to be measured in years - no matter the current technology; and the system guarantees that any "brute- force" attack will deliver only the derived message key, not the original key, and hence, only the content of the individual target message. The system guarantees a mathematical and process impossibility of ever discovering or deriving the original key from the message key, therefore making the only attack point of the system of no value.
The reason there is even one attack point, a "brute-force" message key attack, is due to the inherent nature of message contents: known language alphabets. Any and every message content will eventually deliver a grammatically correct language message if, when decoding, one exhausts every possible combination of key types and content. One doesn't have to know what to look for other than language that makes grammatical sense. The related system, the SEMTS, provides for no attack points because it is based on securing digits, which have no known "grammar" to use for testing a possible decode outcome. Therefore, when using this invention to secure a message, and embedding an SEMTS encrypted financial transaction using an SEMTS "ideal" key, the combined system completely secures and facilitates open electronic commerce.
Used alone, this invention delivers better "brute-force" security than the PKE systems by a user-defined magnitude, and completely limits "breaking the code" to the content of a singular message from a singular sender - every other message from that same sender using the same key are completely unrelated to the "break" of any one individual message.
The system of the present invention uses the SEMTS invention's nine mathematical formulas and two software code processes, along with three new software code processes and one simple addition formula to accomplish encryption and decryption composed of an 81 unique character alphabetical message of any content length.
In order to use the system, step one is to establish the length of the private numeric key to be shared between the two public message entities. This length should be substantial enough to generate as true a random set of numbers for the key as manageable under the planned use by the two entities. There is no system minimal length, but it should be at least enough digits so that attempting all keys against a message is unreasonable. This is the "user-defined" value for determining the minimum "brute-force" attack period. (An example of this is that if the current technology can generate an average attack test scenario of one billion keys per second against a particular message, and the requirements of the system are to have the minimal average "break" time of one year for any one message, then the "original" key length should be set at 128 numeric characters. This is because there would be approximately 3.15 x 10 attempts in a year; and if on average a message is "broken" after 50% of the keys are attempted, the goal would be to have the message withstand approximately 1 x 1032 attempts. Then this key should generate at least 1 x 1064 possible key attempts in order to have 1 x 1032 be 50% of the total. And using this present inventions system, that would be an "original" key of 128 digits; because using this system, the original key produces a message key of one half its length; therefore the resulting derived message key from a 128 digit original key would be 64 digits long, producing 1 x 1064 possible keys.) .
The next step is secure external distribution of the keys. Finally, the system of the present invention can be used to send content messages between the parties based on the distributed original keys. The present invention provides a completely open messaging architecture between two public entities to accommodate and incorporate the true dynamics and purpose of secure messaging. The purpose is not to absolutely secure just one single message - if it were, then hand deliver it. The purpose and value of secure messaging is in the system as a whole; in using a system that delivers group message security that is unbreakable, and singular message security that is predictable and makes for an unreasonable effort to obtain and attack it. No system to date has met the real goal of secure messaging: to make captured or stolen content messages have no value - they can only be derived from a "brute-force" key attack of impossibly long expenditures of time and effort which would then reveal only that content, not any others. The present invention meets that goal; and if the system is used to encrypt financial commerce messages that will contain SEMTS further encrypted monetary information that cannot be discovered, a key attack has no meaning at all.
In addition, the present invention has no new mathematical system; it uses the related SEMTS simple mathematical foundation that provides confidence and straightforward comprehension of the method - no theory is involved. The additional mathematics in the present invention is the simple addition of two single digit numbers.
The system also delivers message content and sender authentication, which is not found in any other secure electronic messaging system. Finally, the present invention makes the system small and self-contained so that it can be delivered easily to any institution wishing to incorporate the system into their messaging systems.
According to the present invention, a method for encrypting a message includes the steps of calculating a numerical value corresponding to each digit of a source key by using each digit of the source key as an input variable to one of a plurality of formulae, thereby creating a message key, selecting the one of the plurality of formulae based on a corresponding digit of a random key, and distributing an alphabet of characters throughout a predetermined matrix for each individual message based on the message key.
One advantageous embodiment of the method of the present invention for distributing the alphabet includes the steps of: (i) determining an order fill pattern for the alphabet; (ii) determining a start position of an alphabet fill in the matrix from two predetermined digits of the message key; (iii) determining a start position of a blank fill from two additional predetermined digits of the message key; (iv) determining a blank separation value from two more predetermined digits of the message key; (v) determining a blank grouping value from two further predetermined digits of the message key; (vi) designating a plurality of blank positions in the matrix starting at a position in the matrix equal to a modular sum of the start position of the alphabet fill plus the stan position of the blank fill, continuing for a number of positions in the matrix equal to the blank grouping value, and then skipping a number of positions in the matrix equal to the blank grouping value; and (vii) distributing the alphabet in the matrix by starting at the start position of the alphabet fill and filling all positions not designated as blank positions according to the order fill pattern.
To generate the random key, the method of the present invention further includes the steps of calculating a numerical value corresponding to each digit of the source key by using each digit of the source key as an input variable to one of a plurality of formulae, thereby creating the random key, and selecting the one of the plurality of formulae based on a second digit of the source key that is cyclically offset from each digit in accordance with a random number.
In this case, a further advantageous embodiment of the method of the present invention for selecting the one of the plurality of formulae includes the steps of: (i) using a digit of the random number corresponding to each digit of the source key to determine a cyclical positional offset from each digit of the source key; (ii) determining the second digit of the source key by cyclically moving a number of digits from each digit of the source key in accordance with the cyclical positional offset; and (iii) selecting another one of the plurality of formulae based on a third digit of the source key that is offset from the second digit of the source key by a predetermined amount if the one of the plurality of formulae returns a value of zero.
To develop the encrypted message, the method of the present invention further includes the steps of calculating a numerical value corresponding to each character of the message by cyclically using a corresponding digit of the message key as an input variable to one of a plurality of formulae, thereby creating an encrypted message, and selecting the one of the plurality of formulae based on a location in the matrix in which each character is stored.
Another embodiment of the present invention for developing the encrypted message includes the steps of calculating two numerical values corresponding to each character of the message by cyclically using two corresponding digits of the message key as input variables to a first one of a plurality of formulae and a second one of the plurality of formulae, respectively, thereby creating an encrypted message, selecting the first one of the plurality of formulae based on a column in the matrix in which each character is stored and selecting the second one of the plurality of formulae based on a row in the matrix in which each character is stored. To generate the source key, the method of the present invention further includes the step of modular summing pairs of digits of an original key according to a random number assignment of the pairs of digits of the original key to produce the source key, which has a length less than that of the original key.
In this case, an advantageous embodiment of the method of the present invention for performing the modular summing includes the steps of: (i) pairing a first digit of the original key with a second digit of the original key, wherein the second digit is offset from the first digit by a first cyclical offset amount; (ii) determining a first cyclical offset amount based on a digit of the random number corresponding in position to a position of the first digit; and (iii) selecting a next unused digit in the original key if the second digit paired in step (i) has already been paired with another digit of the original key.
Another advantageous embodiment of the method of the present invention further includes the steps of determining a number n by selecting predetermined digits of the source key, and inserting a plurality n of false characters at a beginning of the encrypted message for each message.
Yet another advantageous embodiment of the method of the present invention further includes the step of interspersing a plurality of false characters throughout the encrypted message.
In this case, a particularly advantageous embodiment of the method of the present invention further includes the step of determining a starting position, a separation value and a grouping value of the false characters using predetermined digits of the source key.
Another advantageous embodiment of the method of the present invention includes the step of appending an encrypted digital signature to each encrypted message that is completely unique and individual for each message that authenticates both a sender and content of the message as genuine. In this case, the method of the present invention includes the step of determining a digital signature based on manipulating digits of the encrypted message in accordance with a predetermined algorithm.
According to the present invention, one possible embodiment for the predetermined algorithm includes the steps of: (i) summing all position values for each integer from zero through nine used in the encrypted message; (ii) concatenating a resulting sum for each integer in order according to an order in which each integer first appears in a random number; and (iii) using a lowest to highest ordering for those integers that do not appear at all in the random number. According to the present invention, one particularly advantageous embodiment of the method of the present invention for encrypting the digital signature includes the steps of encrypting each digit of the digital signature by cyclically using each digit of the source key as an input variable to one of a plurality of formulae, and selecting the one of the plurality of formulae in accordance with a location of each digit of the digital signature in the matrix.
According to the present invention, another particularly advantageous embodiment of the method of the present invention for encrypting the digital signature includes the steps of encrypting each digit of the digital signature by cyclically using two digits of the source key as input variables to a first one of a plurality of formulae and a second one of a plurality of formulae, respectively, selecting the first one of the plurality of formulae in accordance with a column in the matrix in which each digit of the digital signature is located, and selecting the second one of the plurality of formulae in accordance with a row in the matrix in which each digit of the digital signature is located. According to the present invention, one possible embodiment for encrypting the random number includes the steps of encrypting each digit of the random number by using each digit of the random number as an input variable to one of a plurality of formulae, selecting the one of the plurality of formulae in accordance with a cyclically corresponding digit of a base source key, and transmitting the encrypted random number as part of the encrypted message. In this case, one possible embodiment for selecting the one of the plurality of formulae includes the steps of: (i) inserting a random digit in the encrypted random number when cyclically corresponding digit of the base source key equals zero; and (ii) using a next digit in the base source key to select the one of the plurality of formulae when the cyclically corresponding digit of the base source key equals zero. According to the present invention, one possible embodiment of the method of the present invention for generating the base source key includes the steps of pairing predetermined digits of the original key, and modular summing the paired digits of the original key to obtain the base source key. According to the present invention, a secure electronic messaging system includes the steps of: a) assigning to two distinct public entities, two identical original symmetric numeric keys of length n where n is an even number and of set length so that lxl 0"a is a substantial and agreed upon number; b) using a random number to assign and sum the digits of the original key by a formula that produces a source key one half a length of the original key; c) using a formula to assign and sum the digits of the original key as they appear in order in pairs to produce a base source key that is one half the length of the original key; d) using a plurality of formulae and the base source key to encrypt the random number and add a resulting encrypted random number to a message contents; e) using a first formula to sum a plurality of digits of the source key to generate a random key; f) using a plurality of formulae to generate a unique and individual message key from the random key and the source key; g) distributing up to an 81 character master alphabet into a 9 by 9 segment matrix uniquely for each individual message based on the message key; h) distributing an offset of a plurality of false characters uniquely for each message based on the source key and adding these to the message contents; i) encrypting the original message while distributing interspersed false characters by using a plurality of formulae and based on the message and source keys; j) using a second formula to create a message signature that is completely unique and individual for each message that authenticates both the sender and the content of the message as genuine; k) encrypting the message signature by a plurality of formulae and adding it to the message contents; and 1) formatting for open public transmission a resulting total encrypted message including the encrypted random number, the false character offset, the message content with interspersed false characters and the message signature to be plain ASCII text consisting of two strings of numbers separated by a carriage return and line feed.
Furthermore, according to the present invention, a method for decrypting an encrypted message includes the steps of using a message key to uniquely distribute an alphabet into a matrix for the encrypted message, determining a location value of a character in the matrix by using a digit of the message key as an input variable to a plurality of formulae, and using a corresponding digit of the encrypted message as a return value of the plurality of formulae, thereby identifying which one of the plurality of formulae was used to generate the corresponding digit of the encrypted message, wherein a numerical order of the one of the plurality of formulae represents the location value, and outputting a character in the matrix at the location value previously determined, thereby outputting a decrypted message.
In this case, according to the method of the present invention, one possible embodiment for using the message key to uniquely distribute the alphabet includes the steps of: (i) using a predetermined order fill pattern for the alphabet; (ii) determining a start position of an alphabet fill in the matrix from two predetermined digits of the message key; (iii) determining a start position of a blank fill from two additional predetermined digits of the message key; (iv) determining a blank separation value from two more predetermined digits of the message key; (v) determining a blank grouping value from two further predetermined digits of the message key; (vi) designating a plurality of blank positions in the matrix starting at a position in the matrix equal to a modular sum of the start position of the alphabet fill plus the start position of the blank fill, continuing for a number of positions in the matrix equal to the blank grouping value, and then skipping a number of positions in the matrix equal to the blank grouping value; and (vii) distributing the alphabet in the matrix by starting at the start position of the alphabet fill and filling all positions not designated as blank positions according to the order fill pattern.
According to the method of the present invention, one possible embodiment for determining the location value first determines a column value of the character in the matrix by using a first digit of the message key as an input variable to a plurality of formulae, and using a first corresponding digit of the encrypted message as a return value of the plurality of formulae, thereby identifying which one of the plurality of formulae was used to generate the first corresponding digit of the encrypted message, wherein a numerical order of the one of the plurality of formulae represents the column value. Then, this embodiment determines a row value of the character in the matrix by using a second digit of the message key as an input variable to a plurality of formulae, and using a second corresponding digit of the encrypted message as a return value of the. plurality of formulae, thereby identifying which one of the plurality of formulae was used to generate the second corresponding digit of the encrypted message, wherein a numerical order of the one of the plurality of formulae represents the column value.
According to the method of the present invention, during the decryption process the message key is generated from the encrypted message and an original key. One possible embodiment for generating the message key during the decryption process includes the steps of calculating a numerical value corresponding to each digit of a source key using each digit of the source key as an input variable to one of a plurality of formulae, thereby creating the message key, and selecting the one of the plurality of formulae based on a corresponding digit of a random key. According to the method of the present invention, one embodiment for generating the random key during the decryption process includes the steps of calculating a numerical value corresponding to each digit of the source key by using each digit of the source key as an input variable to one of a plurality of formulae, thereby creating the random key, and selecting the one of the plurality of formulae based on a digit of the source key that is offset from each digit in accordance with a random number.
According to the method of the present invention, one embodiment for generating the base source key during the decryption process includes the steps of summing pairs of digits of the original key according to a predetermined assignment of the pairs of digits of the original key to produce a base source key, which has a length less than that of the original key, using each digit of the base source key as an input variable to one of a plurality of formulae, using a corresponding predetermined digit in a predetermined location within the encrypted message as a return value from the plurality of formulae for each digit of the base source key, thereby identifying which one of the plurality of formulae was used to generate the corresponding predetermined digit, and determining each digit of the random number from a formula number corresponding to the one of the plurality of formulae that was used to generate the corresponding predetermined digit.
According to the method of the present invention, one embodiment for generating the source key during the decryption process includes the steps of generating the source key by summing pairs of digits of the original key based on pair assignments obtained in a predetermined manner from a random number.
According to the method of the present invention, one embodiment for generating the random key during the decryption process includes the steps of generating each digit of the random key by using each digit of the source key as an input variable to one of a plurality of formulae, and selecting the one of the plurality of formulae based a first offset digit of the source key that is offset from each digit of the source key in accordance with a predetermined digit of the random number.
In this case, one particularly advantageous embodiment for selecting the formula includes selecting another one of the plurality of formulae based on a second offset digit of the source key that is offset from the first offset digit of the source key by a predetermined amount of digits if the one of the plurality of formulae in step g) returns a value of zero.
Another advantageous embodiment of the method of the present invention for decrypting an encrypted message includes the steps of determining a number n by selecting predetermined digits of the source key, and discarding a plurality n of false characters at a beginning of the encrypted message for each message.
Another advantageous embodiment of the method of the present invention for decrypting a message includes the step of discarding a plurality of false characters interspersed throughout the encrypted message. In this case, one particularly advantageous embodiment of the method of the present invention includes the step of determining a starting position, a separation value and a grouping value of the plurality of false characters using predetermined digits of the source key.
Another advantageous embodiment of the method of the present invention includes the step of checking an encrypted digital signature appended to each encrypted message to determine if the message is authentic during the decryption process.
Another advantageous embodiment of the method of the present invention for decrypting each digit of the encrypted digital signature to obtain a decrypted digital signature includes the steps of: (i) using a corresponding digit of a source key as an input variable to a plurality of formulae; (ii) using each digit of the encrypted digital signature as a return value of the plurality of formulae, thereby identifying which one of the plurality of formulae was used to generate each digit of the encrypted digital signature; (iii) using a numerical order of the one of the plurality of formulae identified in step (ii) as a location value in the matrix; and (iv) outputting a character stored in the location in the matrix.
Another advantageous embodiment of the method of the present invention for decrypting the encrypted digital signature by decrypting each pair of digits of the encrypted digital signature includes the steps of: (i) using two corresponding digits of a source key as input variables to a plurality of formulae; (ii) using a first digit of each pair of digits of the encrypted digital signature as a first return value of the plurality of formulae, thereby identifying a first one of the plurality of formulae that was used to generate the first digit of each pair of digits of the encrypted digital signature; (iii) using a numerical order of the first one of the plurality of formulae identified in step (ii) as a row value in the matrix; (iv) using a second digit of each pair of digits of the encrypted digital signature as a second return value of the plurality of formulae, thereby identifying a second one of the plurality of formulae that was used to generate the second digit of each pair of digits of the encrypted digital signature; (v) using a numerical order of the second one of the plurality of formulae identified in step (iii) as a column value in the matrix; and (vi) outputting a character located at a column and a row of the matrix according to the column and row values, respectively. Another advantageous embodiment of the method of the present invention includes the steps of manipulating digits of the encrypted digital message in accordance with a predetermined algorithm to obtain a recipient generated digital signature, and comparing the recipient generated digital signature with the decrypted digital signature.
In this case, one particularly advantageous embodiment of the predetermined algorithm includes the steps of: (i) summing all position values for each integer from zero through nine used in the encrypted message; (ii) concatenating a resulting sum for each integer in order according to an order in which each integer first appears in a random number; and (iii) using a lowest to highest ordering for those integers that do not appear at all in the random number.
DETAILED DESCRIPTION
In order to uncover a system of truly unique and complete secure messaging, it is crucial to understand and accept a single concept: all encrypted language-based content messages can eventually be revealed without knowing the key system used to secure it or anything about the content structure and composition. This is due to the inherent nature of message contents: known language alphabets. No matter the system or the key, it will always reveal itself and therefore the message, because the content is language based. And the rules of a language are well known and documented. If enough time and effort is expended in attempting every possible key set for every possible system, eventually the message will be revealed by searching for the known language rules.
The real goal then, of a completely secure messaging system is not to guarantee every single message's encrypted integrity, but rather to guarantee all messages are secure. The measure of a secure messaging system is to deliver each message as if it were individually encrypted so that the system cannot be attacked, and for each individual encrypted message to be so difficult to decipher as to make it a completely worthless endeavor to try. Understanding the concept and goals of a secure messaging system is paramount to meeting the major goal of encryption - making key derivation impossible. So in combining the purpose of securing messages with the goal of encryption, the best possible outcome of a secure messaging system is to provide an impossible to derive system or original key, and an individual message key that can be broken only by applying a tremendous amount of time and effort through a "brute- force" key trial attacks, and then having the message key not lead to the original key. The present invention is the first secure messaging system to deliver on this "best of breed" scenario.
And because it is the first system that has combined both aspects of authentication, sender and content, the present invention delivers on another crucial secure electronic messaging criteria - an open architecture. There is a complete lack of user faith in all aspects of secure messaging when the systems require more and more complicated delivery mechanisms - protocols, firmware, hardware, etc. An open architecture delivers the system value directly to the user. There is no fear in using a system that can be stolen but never is because the stolen goods have no value. The openness of the system creates user confidence and allows the focus of the system to be in the physical aspects - key distribution, key theft, software authentication, etc. These are the constants in any secure messaging system, and the present invention finally transfers the burden of absolute security from the messages themselves back to physically operating the system. The secure electronic messaging system (SEMS) of the present invention is designed to deliver complete, open architecture secure messaging through unbreakable original symmetric keys that produce an individual, unique message key for every message sent. The system uses private keys and the mathematics of the Secure Electronic Monetary Transaction System (SEMTS) - which is the subject of the parent patent application and which has already been incorporated by reference - for securing any n digit financial transaction. The original keys (O^ used for the current system are identical to those in the SEMTS in that they are composed of numbers 0 through 9, have a minimum length determined by the two public entities using the system and that they are of even length; an example original key is "1830596874". ENCRYPT MESSAGE PROCESS Generate Random Number
In order to send a secure message using the SEMS, the first process for every message, which is not a part of this patent, is to generate a random number that is the length of the original key. [There are several fine software algorithms for generating "true" random number sets. Even if these are not used, and a simple algorithm, such as taking a repetitive, changeable sample from the division result of the number one and a large prime number (e.g., 1/213), is still more than sufficient to produce a random enough number for the remainder of this invention's processes - this number does not need to approach "true" random in order to protect the number of "brute- force" key attempts.] This number, the message Random Make number (R^ , is used by the remainder of the message encryption process to determine various off-sets and number pairings.
Encrypt Message
The second process of the SEMS is to encrypt the message to be sent. This process includes various sub-processes, the first of which is translating the Original Key (07) into a Message Key (MjJ for every message to be sent. The Message Key (MfJ is a derivative of the Original Key, and its creation through the encryption process guarantees that it cannot lead to "reverse" discovery of the Original Key (OjJ through any mathematics - the only way to generate the Message Key (MjJ without the Original Key (07) is a brute force attack on the message. It must be remembered that by using the present invention, the system would be set so that the brute force attack on this singular message key is a meaningless endeavor. The SEMS encrypt process delivers absolute security of the Original Key (OjM) by translating it into a message key (MjJ.
Combine Pairs of Digits of Original Key (Or) To Produce Source Key (Sv)
The key creation sub-process of the encrypt process starts by using simple addition to combine pairs of digits of the original key (digit pairs selected using ^, see Example) to produce an intermediate Source Key (SjJ that is one half the original key length. From the same example original key, "1830596874", a possible message key would be "93441" (assuming a Random Make number RM of "1 1111"). The simple addition formula used to combine the digit pairs in this example is: x +.y MOD(10) where x is one of the original key digits, and_y is another. When creating the Source Key (SjJ, the original key digits x and y are never used more than once. In our example, the location of the xy pairs was digit 1 and digit 2, then digit 3 and digit 4, then digit 5 and 6, then 7 and 8, lastly digits 9 and 10. As you can see from the resulting message key, the numbers "5" and "9" (digit pairs 5 and 6) have the identical result number ("4") as do the numbers "6" and "8" (digit pairs 7 and 8). This is the beginning of the separation of the original key from the final message key, and why the original key cannot ever be derived from the message key.
This first derivative key, the Source Key (ST) "93441", is made up of digits that are the result often (10) possible digit pairs that could have composed them; e.g., the "9" could result from 10 possible digit pairs - 9+0, 8+1, 7+2, 6+3, 5+4, 4+5, 3+6, 2+7, 1+8, 0+9. Regardless of the other processing that will occur, this multiple parent digit trait already makes it impossible to positively identify the original key! That is, "93441" could have come from an original key "7212220465" using the same digit pairs (i.e., based on the same RN1) to generate a source key (7+2=9, 1+2=3, 2+2=4, 0+4=4, 6+5=1).
Using the formula for the source key derivation creates a standard distribution often possible pair numbers for every generated result digit; e.g. for the result digit "0", there are ten possible parent formula number pairs producing that result: 0 and 0, 1 and 9, 2 and 8, 3 and 7, 4 and 6, 5 and 5, 6 and 4, 7 and 3, 8 and 2, and lastly, 9 and 1. Then there are 10 possible parent pairs for the number "1", etc.
The difference in the digit pairs between 6 and 4, and 4 and 6, is that the location of the digits in the original key is significant in that each source key generated results from a random selection of the digits to make up the pairs. Having each source key digit result from ten possible digit pairs, and having the location changeable for each result makes it virtually impossible to determine the makeup of the original key from any source key and/or from any set or collection of source keys. One simply would have to guess the original key - all n digits of it!
Generate Random Key (Rr) Now that the original numeric key has been translated into a source numeric key, the next part of the key creation process is to generate a Random Key (R^ . This random key has one specific characteristic that must be met in order to provide a message key that will be able to use the SEMTS formula set to encrypt a message. This characteristic is that none of the Random Key (RjJ values can be a zero (0). This is due to the fact that for the remainder of this creation process, and the encryption, the present invention's SEMS will be using the SEMTS nine formula system for encrypting and translating one number into another. [The SEMTS has nine mathematical formulas that when one inputs a numeric into the set of formulas, the returned translated number could be any number, except itself. These formulas result in a matrix of return values, based on the input into the system. The matrix is shown here for reference:]
SEMTS Encryption Matrix
Input value 0 I 2 3 4 5 6 7 8 9 Formula Return Values
#1 1 2 3 4 5 6 7 8 9 0
#2 2 3 4 5 6 7 8 9 0 1
#3 3 4 5 6 7 8 9 0 1 2
#4 4 5 6 7 8 9 0 1 2 3 #5 5 6 7 8 9 0 1 2 3 4
#6 6 7 8 9 0 1 2 3 4 5
#7 7 8 9 0 1 2 3 4 5 6
#8 8 9 0 1 2 3 4 5 6 7
#9 9 0 1 2 _> 4 5 6 7 8 As one can see, the SEMTS system has input and formula values for translating numbers. The Random Key (K ) will be used as the formula value, and since there are only nine formulas, the Random Key (RjJ cannot have a zero. (In the SEMTS, the key value is used as the formula value. When the key value (formula) is zero, then a random number is generated during encryption - and ignored during decryption. But this must be avoided in this invention's encryption process because the random number insertions would interrupt the trail between the Original Key (07) and the Message Key (MT).
The Random Key (RT) is produced by using the Source Key (S ) digit values. The sub-process cycles through the Source Key (ST) digit values starting at the first digit and using that as the SEMTS input value; and taking the xth digit of the Source Key (ST) value for the formula, where x is determined by using the Random Make number (R ). Continuing our example, the Sκ of "93441", cycled through a RM of "45018" and using the SEMTS encryption matrix would produce a Rκ of "86855". This is determined by starting at digit one of the Sκ and using that value as the
SEMTS encryption matrix input value, and using the first RM value as the offset for finding the Sκ value to use as the matrix formula; in this case the offset is a "4", and that means to use the value of "1" from the Sκ. The offsets always move to the right in all SEMS encryptions, and they cycle back to the first digit if they fall off the "end" of the value used. When using the SEMTS encryption matrix for the input value of "9" and a formula value of "1", the return value is a "0" from the matrix.
Now since the output characteristic rule for the Rκ does not allow a result of "0", then the sub-process cycles to the next digit of the RM and repeats the matrix test. The next RM value is a "5", which cycles to the Sκ value of "9" (looping back around the value). The matrix result is an "8", and this is now the first value in the Rκ. This sub-process continues for each Sκ digit value and always starts with the RM value that is in the same position. E.g., even though the RM value "5" was used by the first digit because its position value returned an invalid result, it is still the starting point for the next Sκ digit. Creatin of the Message Key (Mr)
After successfully cycling through the Sκfor the complete generation of the Rκthen the encrypt process continues with the creation of the Message Key (MT). This final message encryption key is created with one more pass through the SEMTS encryption matrix to further remove the real encryption key from the Original Key (OT). Each digit of the Mκis produced by using the corresponding position in the Sκ as the SEMTS input value and the Rκ as the formula (it is never zero). The Mκis now twice removed from the Oκ .
This positively guarantees that a discovered Message Key (MT) cannot lead to the Original Key (OT) because there are too many unknown variables and too few equations. Basically, even though these are position mathematics, and not real sum equations, the following still applies. After a message is "broken", and that message key is discovered:
Figure imgf000024_0001
sκ + RK = : MK
where Mκ is the only known value, so there are four (Oκ , RM , Rκ and Sκ ) unknown variables with only three equations. This is mathematically impossible to solve; therefore there is no theory, shortcuts, algorithms or any other system to put in place to solve these equations and get back to the Original Key (Ojj. (It should be noted that solving these in the "normal" mathematical sense is quite difficult anyway, because these are position equations - the result is both a value and a position in the key.) It is also obvious that without the Original Key (07), there is no way to attack the contents of the message other than brute force key attempts; and the key that would be discovered (after the tremendously long user defined period) is only that message key - no other discovery occurs or is enabled. Placing the Message Alphabet into the Segment Matrix
The next sub-process of the encrypt process for sending a secure message using the SEMS is to place the message alphabet into its Segment Matrix. The Segment Matrix is a 9 by 9 matrix that has 81 places for up to 81 unique characters, one of which will be set aside as a "Shift" character to differentiate upper and lower case letters (language dependent). The following is the matrix by position:
Segment Matrix by Position
Column 1
Segment Position
1 1 2 3 4 5 6 7 8 9
2 10 11 12 13 14 15 16 17 18
3 19 20 21 22 23 24 25 26 27
4 28 29 30 31 32 33 34 35 36
5 37 38 39 40 41 42 43 44 45
6 46 47 48 49 50 51 52 53 54
7 55 56 57 58 59 60 61 62 63
8 64 65 66 67 68 69 70 71 72
9 73 74 75 76 77 78 79 80 81
For the English language, the total characters listed on the average machine keyboard is 68 characters and numbers. With the addition of a carriage return (CR), a line feed (LF), the space (" "), and the "Shift" key, this leaves 9 empty or blank positions. For any character set, if there are any blanks left over, these should be distributed into the Segment Matrix by start, separation and group values, which can all be set by picking random digits of the message key; e.g., in order to distribute 9 blanks, pick random digits of the key for where to start in the matrix, for how many positions to fill before the next blank (separation) and for how many spaces to group together on each interval. Then place the blanks at that interval. The Segment Matrix alphabet distribution should be "fixed" in that for the entire messaging system (all parties sending/receiving like messages) the order in which the characters appears is fixed, but the position in the matrix can move. This adds even more difficulty to the brute-force attempts, in that now for every key attempt, there will be a minimum of 81 different alphabets to try (the fixed order starting in position 1, then in position 2, etc.). Depending on the number of blanks in the alphabet, the number of alphabets to try per attempt increases significantly. The formula for calculating the number of alphabets to try (and since this is an open system, it will be a known alphabet order and known number of blanks): n
(n-m) *(m- l)\
where n = 81 and m = (81 - # of blank spaces)
As an example, for just five blank spaces, this can be a very large number - of which every possible combination must be attempted for each single key attempt.
There is an optimal distribution of the letters for every language, and it is an added benefit for an even distribution of those letters throughout the matrix. This enhances the uniform distribution of returns out of the matrix, and while not apparently statistically relevant to any brute-force key attempts, having the widest possible return distribution out of the matrix certainly is not a detriment.
The following is a sample order pattern to fill the matrix in a fairly even distribution for the English language (letters listed as capitals, but is either lower or upper case depending on the "shift" position):
Example Alphabet Order Segment Matrix
Column I 2 3. 4
Segment Position
1 E \ SP ~ C Z [ 2
2 % J < 7 - # T ?
3 1 K + Q 3 & N
4 B / R shift X 4 c 5 G I O 9 W V )
6 S { ] Y I M
7 1 ) 5 P > A U =
8 CR LF C S F Λ 6
9 8 L * 0 } H @ D (SP = space, CR = Carriage Return, LF = Line Feed)
Once the order fill pattern is decided for the system, then each message will generate a unique alphabet based on selecting two static digits from the message key that are less than or equal to 81, and the resulting number will be the start position of the Segment Matrix for that message. If there are blank positions in the matrix, then each message will select other static digits of the message key to use for distributing the blanks throughout the alphabet.
Create and Insert Random Number of False Characters Into Message
So far in the SEMS encrypt process, the random make number has been generated, all of the message key values have been created, and the alphabet is distributed in the Segment Matrix. The next sub-process of the encrypt process is to create and insert a random number of false characters into the message at the start so as to create a non-uniform distribution of the beginning of the message, and disrupt the "grammar" rules for finding meaningful language. The manner in which the SEMS performs this insertion is to pick two static digits from the Source Key (SjJ. This will mean that anywhere from 0 to 99 false characters will be inserted at the message start to add to the difficulty of the brute force message key attempts. Adding another one hundred trials makes each key attempt that much slower and more difficult to perform. Every message content must now be tested using the same key starting at the n+z+1 digit of the encrypted message through the n+z+ 100 digit of the message (the first n digits are the Random Make digits (R^) and this is a known system parameter; the z digits are unknown. The z digits are however many zero's are in the Random Make number (RM). Each one will insert a random number into the encrypted Random Make number (R^J) making the start of the message an unknown.
Encrypt the Message Contents
Now that the keys are ready, the alphabet distributed, and the message primed with false characters, the SEMS can encrypt the message contents. This sub-process makes it even more disruptive to find the "grammar" rules in the message. This is because the process will take static numbers from the Source Key (ST) to insert false digits in a pattern into the encrypted message contents every x digits that are being stored. This means that even with the Mκ message key for the individual message, without the Sκ source key also, decryption is limited to the first x-1 characters. Unless one discards the correct inserted false characters, the remainder of the message will not properly decrypt! The brute force scenario for finding the Mκ message key has now been made much more difficult. Since the false characters are inserted with a start, group and separation value, every brute force key attempt must be checked against all of the possible start, group and separation permutations - making individual message decryption more and more difficult and less and less valuable.
The sub-process takes the message content one unique character at a time, finds it in the alphabet Segment Matrix, tests if it is a capital letter, and if so gets the "shift" matrix settings also. All of the Segment Matrix returns are two numbers - one is the segment number and the other is the column number. Each individual number return is then encrypted through the SEMTS encryption matrix using the Message Key (MT). First the "shift" matrix segment and column is sent if the character was a capital letter, then the segment and column of the character is sent. This is done cyclically through the Mκ, one digit per number sent through the encryption matrix; e.g., to encrypt the capital letter "C" would take four digits from the Mκ message key - one for the "shift" segment, one for the "shift" column, one for the "C" segment and one for the "C" column. As the message characters are encrypted, a counter is kept that checks against the false number insert start, separation and group values to properly insert random digit numbers as false encrypted characters. These will be removed by the decryption process as insignificant, yet they wreck havoc on brute force attempts. The resulting encrypted message content is roughly twice the size of the original content. This size increase should not be a problem in that the encrypted message result is plain text consisting of nothing but sequential numbers, and passing this through a compression algorithm prior to sending will relegate the message down to a very small size.
Transmission of the Random Make Number (R)
The encrypt process is now complete for all the derived keys, the alphabet, the false priming of the message and the actual contents. The only number required for the recipient of the message to generate the same key set from the Original Key (Ok) and then decrypt the contents, is the Random Make number (RλI) . If one does not have the original key, the only way to decrypt the message is to brute force attack the contents trying message key combinations. Even if successful, the only number obtained is the individual Message Key (MT) , which serves no further purpose beyond this one message. The Random Make number (RιM) determines where to point in all the keys for various offset items, and is used to determine the source key (ST) , and the random key (R , and indirectly, the final message key (MT)-
The Random Make number (Rj has absolutely no meaning in decrypting the message without having the Original Key (OT, therefore this number is sent as the first n characters of the message. The number is passed through the encryption matrix using a "base" Source Key (ST - a source key created using the digit order of the Oκ That process makes it twice removed (Oκ to "base" Sκ and then through the encryption matrix) and impossible to decipher in and of itself. The RM can then be passed along with the remainder of the message key encrypted contents. All of the key creations between one key definition to another are impossible to "break" - they are limited to a guess. This is due to the "ideal key" presentation in the patent for the SEMTS. The quick explanation is that an "ideal key" is one which is at least as long as the content to be encrypted and can return all the same possible outcomes for every input. E.g., if encrypted content for a number is "444", it is impossible to "try" all the keys to get back to the source content number, because the source content has no "grammar". There is no frame of reference for what the source is, so one cannot attempt different keys to "see if they work." An ideal key has translated every individual piece of the content into the same output. The source could be three identical digits, but it also might be any other digit too! (The SEMTS "ideal key" approach returns every other output digit other than the input value; so in this example, the only known thing is that the source number is not "444".)
In using this SEMTS "ideal key" approach for translating all number keys into other number keys, it is simply impossible to derive one key from the other - there is no frame of reference for any of the source content numbers.
Format of Encrypted Message
The encrypt process now formats the encrypted message to contain the following:
1. Random Make number (RM), encrypted using a "base" Source Key (S
2. The n false characters generated using two digits of this message's Source Key (ST, and encrypted using the Message Key (MjJ
3. The message contents encrypted using the Message Key (MT
Generate a Digital Signature for Each Message
The last sub-process of the encrypt process of the present invention is to generate a "Digital Signature" (DS) for each message. This DS is the authentication capability of the SEMS that is completely unique to the present invention and no other secure messaging system. All other systems must rely on external capability and systems to provide the two authentication areas - content and sender. The present invention offers both types of authentication in a single DS appended to each message. Sender authentication is inherent in the symmetric key approach used by the present invention. There is simply no way to create a message that will decrypt through the Source Key, the Random Key and the Message Key using a Random Make number unless it is all created from the correct Original Key. One might guess all n digits of the Oκ , and then send a message, but the odds of correctly guessing the key are astronomical, depending on the size of the Oκ . Therefore, if a recipient receives a message that properly decrypts using the expected Original Key Oκ and the sent RM random make number, it must have been generated by the expected and proper sender. (It must be noted that from a physical use standpoint, no system can guarantee that the message was sent from the proper or expected place, only that it was created by the authorized sender's machine. The message could have been stolen, untouched, and then sent on. It also could have been fraudulently created in an unauthorized manner by physical intrusion onto the expected sender's machine, though not created by the real sender. Physical security, however, is outside the scope of this system and patent.)
Summing of Positions of Each of the Ten Digits in the Encrypted String
The manner in which the SEMS creates a DS for content authentication and appends it to the message is based on the numeric format of the encrypted contents. The content of the message is, so far in the process, an uninterrupted string of numbers - consisting of various things, but all concatenated together into one long list. The SEMS DS is created by summing the position of each of the ten digits in the string; e.g., in the string of numbers "180394827", the sum of the positions for the digit 8 is 2+7 = 9. The sum of the digit 4 is 6. The first step in the DS is to sum all of the position values for each of the ten digits. (If there are none, the sum is 0.) The purpose of summing the positions is that they cannot now be touched.
The SEMS is an open architecture system, so the string of numbers is sent unprotected into the public sector. But this openness provides a great measure of security in tfiat the numbers cannot be manipulated at all or the sum of the positions will no longer be the same. If a digit is moved, altered or deleted, the sum of the positions changes. There is no way to add a "2" or change it to a "3" or remove it, without the position value sums being changed.
Order of Digits in the Digital Signature
Now since anyone can perform the same math on a message, the DS is
"exposed" in that one could touch the message and correctly alter the DS. So the DS must be appended to the message in such a manner as to completely hide its content and exposure. The SEMS accomplishes this by first arranging the DS in a manner dictated by the non encrypted Random Make number RM. The DS is concatenated together by the order of appearance of the digits in the RM random make number; e.g., if the first number of the RM random make number is an "8", then the first n characters of the DS is the summed number of the positions for the digit "8". The next piece of the DS is the next number appearing in the RM random make number.
This is continued until all digits are found - and if they do not all exist in the RM random make number, then they are added from the lowest to highest number that is missing.
Encryption of the Digital Signature String
Once the DS string is now "ordered", it is ready to be encrypted and then appended to the message contents. In order to separate the DS from the remainder of the message, a carriage return and line feed are added to the existing encrypted contents. The DS is then appended to the message after sending each individual number through the encryption matrix as if it was a part of the message, but using the
"base" Source Key Sκ instead of the Message Key Mκ . The "base" Source Key Sκ is also used to encrypt the Random Make number RM .
The reason for using the "base" Sκ is if the Mκ is discovered through brute force, and the DS was not uniquely encrypted, it would be possible to send false messages using that key by re-calculating the DS after forging a message and encrypting it using the cracked Mκ . This also would lead to knowing the order of appearance'of the digits in the Random Make number RM, even though that is not the entirety of the number, nor even the correct beginning (there could three "8"s to start the number), this exposure can be avoided by using the "base" Source Key Sκ . The DS guarantees content authentication because if it does not resolve back to the correct position sum of the contents, then the message is considered invalid. If either the contents or the DS is touched, then they will no longer equate. And it is fantastically improbable to properly touch both the content and the DS and have them equate - even more impossibly to do that meaningfully.
Summary The encrypt process is now complete, and the message is ready to send. It is a formatted, open text message of two long strings of numbers separated by a carriage return and line feed. It is secure in that the message contents are protected to the maximum possible extent of any language based message, authenticated for both sender and content, deliverable in an open, uncluttered user environment, and completely unique from any other message giving guaranteed protection to the system as a whole.
Encrypt Message Code
The code logic for the Encrypt Message process of the present invention is: Message encrypt
Read Original Key in
OKI = Digit #1 of key OK2 = Digit #2 of key
OKn = Last Digit of key Generate Random Make Number
! RM is the returned Random Make number Call Random(RM)
Generate Source Key Number OKn is passed, RMn is passed, Sκn is returned The GetOk# function returns the next Oκ number SumKey function adds two digits together and returns a MOD( 10) number set n=l loop
Call GetOk#( RMn ,Ok# ) Call SumKey( OKn, Ok#, Sκn ) R = Sκι| Sκn set n= n+ 1 Ifn>KeyLength Break Encrypt RM
! Set RM ready to add to the encrypted message, after encrypting ! it with a "base" Sκ - sRME is the returned RM encrypted Call EncryptRm( sRME ) Generate a Rκ Random Key
Sκn is passed, RMn is passed, Rκn is returned, if not zero The TranslateMatrixNotZ function accepts an Input value number, a Formula value number and returns the translated matrix number set n=l loop
Call TranslateMatrixNotZ(SKn, SK(RM n), ^n)
Rκ =RκnRκ n set n= n+ 1
If n>KeyLength
Break
Generate a Mκ Message Key
! Sκn is passed, Rκn is passed, Mκn is returned The TranslateMatrix function accepts an Input value number, a Formula value number and returns the translated matrix number (even if zero) set n=l loop
Call TranslateMatrix(SKn, Rκ n, Mkn) MK ,MK ||MKn set n= n+1 If n>KeyLength Break Set Message Alphabet
!Call the SetSegments sub-process to setup the sg alphabet Call SetSegmentsO Generate n False Characters
! Create a false character set by using two digits from Sκ )
! CreateFalse generates a random number to insert into message
FCsl = (Digit n of SMessageKey)(Digit n+1 of SMessageKey)
Set n = 1
Loop
Call CreateFalse( FCn ) Set n = n+1 If n > FCsl
Break EncryptMessageContents
! now encrypt the contents... first set the alphabet w/SetSegments
! The FalseStartV, FalseSeparationV and FalseGroupV are all
! from the Sκ source key for inserting false numbers - they will
! to be discarded as the contents are decrypted....
Call SetSegments(MK)
FalseStartV = (Dgt n of SMessageKey)(Dgt n+1 of SMessageKey)
FalseSeparationV = (Digit n of SMessageKey) FalseGroup V = (Digit n of SMessageKey) Set n=l Loop If n = FalseStartV or (n - FalseStartV MOD(FalseSeρarationV)) = 0
Set z = 0 Loop
Call Random(ECn2) ECn = ECn || ECn2 Set z = z+ 1
If z = FalseGroupV Break Else
If not GetNextCharacter(Char[n]) Break
Call FindSegmentMatrix(SegChar[n]) Call FindSegmentMatrix(ColChar[n]) If Char[n] = CapitalLetter
Call TranslateMatrix(MKn ,ShiftChar[Seg], ECn ) Call TranslateMatrix(MKn ,ShiftChar[Col], ECn+1 ) set n = n+2 Call TranslateMatrix(MKn ,SegChar[n], ECn ) Call TranslateMatrix(MKn ,ColChar[n], ECn ) set n= n+ 1 EC = EC || ECn
! EC is ENCRYPTED MESSAGE CONTENT ready to send.... Digital Signature
! Create Digital Signature for authentication ! first sum the positions, then set the order from the RM ! then encrypt using the "base" Sκ
Call SumPositions(DSin) Call SetOrder(RM, Dsin, DSout) Call EncryptDS( dsE)
Segment Matrix Distribution Sub-Process Code The code logic for the Segment Matrix distribution sub-process of the
Encrypt Message process is: SetSegments
Read Message Key in
MK1 = Digit #1 of key MK2 = Digit #2 of key
MKn = Last Digit of key !n is equal to the start digit in the key where the code will begin looking for a valid number to return Pick Alphabet Start Position
Set n=(any number less than or equal to KeyLength - STATIC) Loop
APsl = (Digit n of MessageKey)(Digit n+1 of MessageKey) IfAPs <= 81 Break n=n+l
If n>KeyLength Set n=l Pick Blank Position Start Set n=(any number less than or equal to KeyLength - STATIC)
Loop
BPs = (Digit n of MessageKey)(Digit n+1 of MessageKey) IfBPs <= 81 Break n=n+l
If n>KeyLength Set n=l Pick" Blank Separation Value
! This decides how far apart the blanks are Set n=(any number less than or equal to KeyLength - STATIC) Loop
Bs = (Digit n of MessageKey)
If Bs ♦ (# of blanks in the system alphabet) <=81
Break n=n+l Ifn>KeyLength
Set n=l Pick Blank Group Value
! This decides how many blanks to group together Set n=(any number less than or equal to KeyLength - STATIC) Loop
' BG = (Digit n of MessageKey) If BG <= # of blanks in the system alphabet
Break n=n+l If n>KeyLength
Set n=l ! Then use the gathered settings to set the separation and grouping of ! the blanks into the alphabet; and fill a matrix array with the finished ! alphabet, starting with the alphabet start position
Segment Matrix is ready for Encryption or Decryption
DECRYPTION MESSAGE PROCESS Generate Source Key Sκ From Original Key Oκ The Decrypt process is a straightforward application of the existing sub- processes against the message contents, testing the authenticity and revealing the message. The first step that must be taken is to generate a "base" Source Key Sκ from the Original Key Oκ.
Decrypt First n Digits of the Message Using Source Key Sκ The "base" Source Key Sκis used to decrypt the first n digits of the message
(the key length n, is established by the two public entities using the SEMS). This will reveal the message Random Make number RM.
Generate Message Source Key Sκ, Random Key Rκ and Message Key Mκ The Random Make number RM is now available to follow the exact same steps as in the Encrypt process to create a message Source Key Sκ, a Random Key Rκ and a Message Key Mκ.
It should be pointed out that without the Original Key Oκ , there is no "starting point" for a decrypt attack. The Random Make number RM has no "grammar" to attempt to discover the parent "base" Source Key Sκ - there is simply no way to know what it "should" be to test against. The only "grammar" that lends itself to key attempts is the message body itself, and that leads only to discovery of the message key, if anything.
Message Authentication
The key set that is decrypted using the Original Key Oκ will be used to decrypt the message contents, provided the message is authentic. The "base" Sκ source key is used to decrypt the DS into the ordered sum of the positions; which is further decrypted back to the individual position sums of each digit using the decrypted RM random make number digit appearance order. The original message contents are position summed and then compared to the decrypted DS, and if there is a discrepancy, then the message is invalid. This can happen for several reasons including transmission errors, so one of the major benefits of the present invention is to simply re-send the message since an individual message error is insignificant, and the system as a whole is not impacted at all. If the message is indeed valid, then the Mκ message key is used to decrypt the message bo'dy, after the false characters have been discarded using the Sκ source key.
Code for the Decrypt Process The code logic for the Decrypt Message process of the present invention is:
MessageDecrypt
Read Original Key in
OKI = Digit #1 of key OK2 = Digit #2 ofkey
OKn = Last Digit of key Decrypt RM
! Get RM from the encrypted message by decrypting ! it with a "base" Sκ - RM random make number is returned Call DecryptRm( sRME , RM )
Generate Source Key Number
OKn is passed, RMn is passed, Sκn is returned The GetOk# function returns the next Oκ number SumKey function adds two digits together and returns a ! MOD( 10) number set n= 1 loop
Call GetOk#( RMn ,Ok# ) Call SumKey( OKn, Ok#, Sκn ) Sκ = SK || SKn set n= n+1 If n>KeyLength Break Generate a Rκ Random Key ! Sκn is passed, RMn is passed, Rκn is returned, if not zero The TranslateMatrixNotZ function accepts an Input value number, a Formula value number and returns the translated matrix number set n= 1 loop
Call TranslateMatrixNotZ(SKn, SK(RM n), Rκn)
Rκ = RκιιRκ n set n= n+1 Ifn>KeyLength Break Generate a Mκ Message Key
Sκn is passed, Rκn is passed, Mκn is returned The TranslateMatrix function accepts an Input value number, a Formula value number and returns the translated matrix number (even if zero) set n=l loop
Call TranslateMatrix(SKn, Rκ n, Mκn) MK = MK ||MKn set n= n+ 1 If n>KeyLength Break Digital Signature
! Decrypt Digital Signature for authentication
! first decrypt using "base" source key, then compare to the
! DS sum in the sent message.... (no need to re-evaluate the order)
Call DSDecrypt(DSin)
Call SumPositions(MSGin, DSTESTout)
If DSTESTout != DSout
ERROR! - Message is INVALID! QuitQ Else
MSG OK - Continue... Discard n False Characters
!Find out how many false characters by using two digits from Sκ) ! DiscardFalse removes the false random numbers from message
FCsl = (Digit n of SMessageKey)(Digit n+1 of SMessageKey) Set n = 1 Loop
Call DiscardFalse( FCn ) Set n = n+1
If n > FCsl Break DecryptMessageContents
! now decrypt the contents... set the alphabet w/SetSegments ! The FalseStartV, FalseSeparationV and FalseGroupV are all
! from the Sκ source key for inserting false numbers - they need ! to be discarded as the contents are decrypted.... Call SetSegments(MK)
FalseStartV = (Dgt n of SMessageKey)(Dgt n+ 1 of SMessageKey) FalseSeparationV = (Digit n of SMessageKey)
FalseGroupV = (Digit n of SMessageKey) Set n=l Loop If n = FalseStartV or (n - FalseStartV MOD(FalseSeparationV)) = 0
Set z = 0 Loop
Call Random(ECn2) ECn = ECn || ECn2 Set z = z+ 1
If z = FalseGroupV - 41 -
Break Else
If not GetNextCharacter(Char[n]) Break Call FindSegmentMatrix(SegChar[n])
Call FindSegmentMatrix(ColChar[n]) If Char[n] = CapitalLetter
Call TranslateMatrix(MKn ,ShiftChar[Seg], DCn ) Call TranslateMatrix(MKn ,ShiftChar[Col], DCn+1 ) set n = n+2
Call TranslateMatrix(MKn ,SegChar[n], DCn ) Call TranslateMatrix(MKn ,ColChar[n], DCn ) set n= n+ 1 DC = DC || Den ! MESSAGE CONTENT is DC...
EXAMPLE
The following is an example to clarify the secure messaging key system:
Encryption Step 1 - Parties Agree on Original Key Oκ
COMPANY_A and PERSON_B are two public entities who wish to send secure messages to each other. The first step for these two entities is to agree on the original key that will be used to secure the messages. The Original Key Oκ to be used for their messaging is "8507734814".
Step 2 - Generate "Base" Source Key Sκ
This key generates a "base" Sκ source key (digit order) of "37025" (8+5 MOD( 10)=3 , 0+7 MOD( 10)=7, 7+3 MOD( 10)=0, 4+8 MOD( 10)=2 and I +4 MOD(10)=5). Step 3 - Create Random Make Number RM
PERSON_B wishes to send the following message to COMPANY_A: "Hello there!" (message does not include the quotes). The SEMS will be used to secure the message, and the first step is to create the Random Make number RM of equal length to the length of the Original Key Oκ. The Random Make number RM is generated by a random number generation process, and for this message, the number is "2039173064".
Step 4 - Generate Source Key Sκ Next the SEMS will generate the "key suite" of the Sκ source key, the Rκ random key and the Mκ message key. These values use the SEMTS encryption matrix listed elsewhere in the detailed section of this document.
The Source Key Sκ uses the first five digits of the Random Make number R "20391" and the entire Original Key Oκ to become "82575". This is created by taking the "8" first digit of the Original Key Oκ and looking two digits to the right (from the number "2" in the RM random make number) and summing those numbers ("S"+"0"), the resulting number is "8". Since the Original Key Oκ digits are used only once to create the Sκ source key of half the length, the used digits are tracked.
To create the next digit of the Sκ , the next unused digit ("5") of the Oκ is summed with the "7" of the Original Key Oκ. The "7" is arrived at by using the "0" from the RM random make number, which is used to look up the tenth digit of the Original Key Oκ. Since the tenth digit falls off the end, then it cycles back to the start. When counting digits in the "pull" from the key, all the digits are counted, whether used or not. The tenth digit returns back to the same "5" that is being used for this creation, which is not available, so now the process will move one digit to the right and see if this is available. If not, the process will continue to move one digit at a time until finding a digit that has not been used. In this case, the next digit after the "5" is the already used "0", so moving one to the right places the "7" into the equation, f*-1-! (MOD 10) = 2. So now the Sκ source key creation so far is "82". The next Original Key Oκ digit to use in the source key creation process is the fifth digit, "7". Taking the "3" from the RM random make number to find the pull from the Original Key Oκ, yields the equation 7+8 (MOD 10) = "5", the next digit of the Sκ Continuing, the next available digit of the Oκ is "3". The pull uses the "9" from the RM random make number, and after cycling back to the start of the key, and pulling each digit until finding an available one, the formula is 3+4 (MOD 10) = "7", the fourth digit of the Sκ source key. Lastly, the next available digit of the Oκ is "1", and the RM random make pull is a "1", but since these are the last digit pairs, the pull is insignificant - the "4" from the Oκ will be paired with the "1". 1+4 (MOD 10) = "5", the last digit of the "82575" Sκ source key.
Step 5 - Encrypt Random Make Number RM
The next step in the SEMS process to send PERSON_B's secure message is to encrypt the RM random make number and ready it for inclusion in the message. The RM random make digits are passed through the SEMTS encryption matrix as input values and the "base" Sκ source key digits are used as the formula values (zero's are treated by the SEMTS as random inserts - making derivation of the R random make impossible without the original key). The resulting RME random make encrypted number will be sent as the first n digits of the message. (This step can occur anywhere in the process provided it is prior to formatting and sending the message.) Using matching digit positions, the encryption matrix pairs are [2,3], [0,7]
,[3,0] (which is a random insert because the formula value in the SEMTS cannot be a "0", so the next "base" Sκ source key digit is used - [3,2]), [9,5], [1,3], [7,7], [3,0] (another formula "0", so use the "2", [3,2]), [0,5], [6,3], [4,7] where the 2,0,3,9, 1,7,3,0,6,4 come from the Random Make number RM and the 3,7,0,2,5 come from the "base" Source Key Sκ . The Encrypted Random Make number RME result out of the SEMTS encryption matrix is "578544415591" where the third and eighth digits, "8" and "1" are random inserts. On decryption of the message, since the "base" Sκ source key is a known entity derived directly from the Original Key Oκ. the random inserts into the RM random make will be discarded. Step 6 - Create Random Key Rκ
The'next key derivative to create in the message suite is the Rκ random key. This key uses the just created Source Key Sκ and the Random Make number RM in a slightly different manner than the previous pull from the Original Key Oκ . In this pull, a "0" is used as a 0, not a 10; the Source Key Sκ numbers can be reused, and when cycling around the edge of the key, when landing on the number already being used for the key generation, it can be used as the formula value also. Also, these number pairs are not added, but are passed through the SEMTS encryption matrix to return a value. The first digit of the Source Key Sκ is an "8", and using the first digit of the
RM random make number, "2", that creates an input value of "8" and a formula value of "5" to be passed through the matrix. The result, the first digit of the Rκ random key, is a "3". In creating the Rκ random key, the rule of never returning a zero must be enforced. Continuing, the next digit of the Sκ is "2" and the RM random make is a "0", so the digit pair to pass through the matrix is [2,2], yielding a result of "4". The next digit pair is [5,8], the five coming from the Sκ and the "8" being the third digit to the right, after cycling back to the start. (The third digit lookup comes from the "3" in the Random Make number RM .) The last two digit pairs are [7,5] and [5,8], which when passed through the encryption matrix yield a "2" and a "3" respectively. The final Random Key Rκ is "34323".
Step 7 - Generate Message Key Mκ
The last key to generate in the message key suite is the Message Key Mκ that will be used to encrypt the contents. In order for this key to be as far removed from the Original Key Oκ as possible, it is created as an encryption matrix pass through using the Sκ source key as the input values and the Rκ random key as the formula values. Using matching digit positions, the encryption matrix pairs are [8,3], [2,4], [5,3], [7,2], and [5,3], where the 8,2,5,7,5 come from the Source Key Sκ and the 3,4,3,2,3 come from the Random Key Rκ . The Mκ message key result out of the SEMTS encryption matrix is " 16898". Step 8 - Distribute Alphabet Into the Alphabet Order Segment Matrix
Now that the message key suite has been created, the next step is to distribute the alphabet into the Alphabet Order Segment Matrix. This is accomplished on a per message basis from an agreed upon "master" order of the occurrence of each alphabet member. For this example message, the order of the alphabet will be as listed in the Example matrix earlier in this document. This alphabet has nine (9) blank spaces in it, and in order to distribute it for this individual message, some static Message Key Mκ digit positions are used. These static positions are agreed upon for all users of the system, including COMPANY_A and PERSON_B. There are four offset numbers required to set the segments: 1. The start position for the alphabet fill, 2. the start position of the blank fill, 3. the blank separation value, and 4. the blank group value. For this example, the four numbers will be created from Mκ digits 2 and 5, digits 1 and 2, digit 5 and digit 1 ; yielding numbers "68", "16", "8" and "1". Using these offsets, and the given alphabet order, the Segment Matrix has the following distribution:
Alphabet Order Segment Matrix for Message
Column 1 2 3 4
Segment Position
1 - # T b ? 1 K + Q
2 3 N ct
& b ) B
3 R shift X b 4 < < G
4 O 9 w b V ) $ l
5 Y I M b 1 . 5
6 < A U b = CR LF C
7 S F Λ b 6 8 L *
8 } H @ b D E \ SP
9 C Z [ b 2 % J < Step 9 - Insert False Characters at Beginning of Message
Now that the alphabet is distributed, then the next encryption step is to insert a set of false characters into the message contents so that each key attempt of a brute force attack on the message must test a wide range of start positions for the real message contents. The manner in which this is done is to pick two system predetermined static digit positions from the Sκ source key and then use the values at those digits to represent the number of false digits. For example, in this example the digits will be the second digit (which happens to contain a "2") and the fifth digit (which also coincidentally happens to contain a "5") producing a value of "25". This means that the encrypted contents will have 25 random numbers inserted into the contents string of encrypted numbers prior to the real start of the message. (If the second digit was a "9" and the fifth digit was a "1", then 91 false digits would have been generated.).
Step 10 - Encrypt Message Contents
Next, is the actual message contents encryption. To review so far, the SEMS has the following information ready for this message:
Message Contents Hello there!
Original Key Oκ 8507734814 "Base" Sκ source key 37025
RM random make number 2039173064
Sκ source key 82575
Rκ random key 34323
Mκ message key 16898 RME , the encrypted RM random make number 578544415591
25 digit false character string 39280492817405729374591 R ^
The message encryption is a straightforward use of the SEMTS encryption matrix using the Message Key Mκ in sequence as each input value; and inserting the false encryption numbers during the process. Each formula value is first the alphabet segment of the message character and then the alphabet row of that character. If the character is a capital letter, then the segment and row of the "shift" character is entered firsf, then the letter segment and row. To encrypt PERSON_B's message, the following is the sequence. The brackets are the pair of digits to send into the encryption matrix, with the input value first, then the formula: shift segment [1,3] yields encrypted result "4" shift column [6,2] yields "8"
H segment [8,8] yields "6"
H column [9,2] yields "1" e segment [8,8] yields "6" e column [1,6] yields "7"
1 segment [6,7] yields "3"
1 column [8,7] yields "5"
1 segment [9,7] yields "6"
1 column [8,7] yields "5" o segment [ 1 ,4] yields "5" o column [6, 1] yields "7" space segment [8,8] yields "6" space column [9,8] yields "7"
Completing the remainder of the message "there!" is made up of bracket pairs [8, 1 ], [1,3], [6,8], [8,2], [9,8], [8,6], [1,3], [6,1], [8,8], [9,6], [8,3], [1 ,9]. The encrypted translation matrix output for these yields "944074476510". All together, the encrypted message contents output reads "48616735655767944074476510."
Step 11 - Insert False Encryption Numbers Inside Message In order to insert the false encryption numbers, the Sκ source key is used.
There are three positions that must be chosen to insert the false characters - a start value, a separation value and a group value. These can be either one or two digits long (or longer), and are chosen at a system level for the SEMS to be used by all message participants. For our example, the false start value will be position 3 of the Sκ source key, the false separation value will be position 4 and the false group value will be position 2. These positions yield a start of "5", a separation of "7" and a group of "2". So the encrypted message contents will now be seeded with a false random number group of two digits every seven numbers starting on the fifth position. The encrypted message contents will now be:
"4861 90 673565 52 576794 11 407447 85 6510" where the spaces are for emphasis and the "90", "52", "11" and "85" are the false digit pairs that will be discarded in the decryption process.
The total encrypted message output so far is made up of the RME , the encrypted RM random make number, then the 25 false characters, then the encrypted message contents. This yields:
5785444155913928049281740572937459183486190673565525767941 14074478565 10
In this case, the underlined characters represent false characters that will be discarded during the decryption process.
Step 12 - Create Digital Signature
The final process in the message send is now the authentication string, or
"Digital Signature". This is created by summing the position values of all of the digits used in the message up to now. This yield is:
The number 1 summed position value total =8+12+22+35+41+58+59+70= 305
The number 2 summed position value total = 15+20+28+51 = 1 14
The number 3 total = 126
The number 4 total = 374 The number 5 total = 417
The number 6 total = 254
The number 7 total = 363
The number 8 total = 181
The number 9 total = 205 The number 0 total = 217 The numbers do sum to the total of the 71 digits, which is 2556. In order to place the DS into the" message, it is first ordered by the first occurrence (i.e., appearance) of the digits in the RM random make number, 2039173064: 1 14 217 126 205 305 363 254 374 (The spaces are there for demonstration). The numbers that do not appear in the RM random make number are 5 and 8, and these are added from low to high; the final order for the DS is: 114217126205305363254374417181.
Step 13 - Encryption of the Digital Signature The DS will now be encrypted and appended to the message. In order to secure the DS from the message contents, the Sκ source key of 82575, will be used to encrypt it. The DS is passed through the SEMTS encryption matrix using the Sκ source key in sequence. The numbers are pulled just like the message contents first by segment and then column. The resulting bracket pairs are: The number 1 segment [8,5] yields "3" The number 1 column [2,6] yields "8" The number 1 segment [5,5] yields "0" The number 1 column [7,6] yields "3" The number 4 segment [5,3] yields "8" The number 4 column [8,4] yields "2"
The number 1 segment [7,5] yields "2" The number 1 column [5,6] yields "1"
The final encrypted sequence for the DS is: "380382192171034299695105709423042170192316794759093S460491 2 1 "
Now all of the encryption is complete for the message in total, and the final loi mai ι<> send is (including the carriage return, line feed between the first contents sequence and the DS sequence):
"57854441559139280492817405729374591834861906735655257679-1 1 | .in7 l-l 7K ^< 380382192171034299695105709423042170192316794759093846049121 "
It should be noted that whereas this encrypted message is large compared to the small size of the message, the formatting has a minimum size of the RME encrypted random make number, all of the false digits, and the DS - which increases in size at a much smaller rate than the message size. So after the minimum message formatting, the encrypted message is roughly twice the size of the original message, and the longer the message, the closer it is to that ratio.
Decryption Step 1 - Applying "Base" Source Key Sκ to the First n Digits of Message
The decryption process for COMPANY_A to decipher the message is a simple application of the same key creation after reading in the RME encrypted random make number and applying the Original Key Oκ. The known values at the start of a decryption are the Original Key Oκ and the "base" Sκ source key Decryption begins by applying the "base" Sκ source key to the first n digits of the message, e.g., the RME encrypted random make number. In this example, // is equal to 12 digits - but the process knows to return the first 10 real digits, which is the length of the Original Key Oκ and the therefore the RM random make numbei For all of the decryption processes, a "reverse" SEMTS encryption matrix (function) is created to return the original input value based on the known function and the kno n "return" value that is being passed in "backwards."
To gather the RM random make number, the decryption process stai ts w ith the first digit of the encrypted message, "5" Using the known "base" Sκ sour ce
Figure imgf000052_0001
37025, the "reverse" SEMTS function is called with its first digit "3" and t e ^ ' The "teverse" SEMTS encryption matrix looks in the third formula row for a ι elm n value of "5". The input value for that is a "2", the first digit of the Random Make number RM . Continuing this process, the second message digit is a '"7" and the S source key second digit is a "7" also. In the seventh formula row, a "7" return \ aim- is generated by an input value of "0", the second Random Make number R The third message digit, "8" is paired with the third Sκ source key digit, "0". Now since there is no formula row for a "0", the message digit is a known random insert and it is discarded. The next message digit, "5" is paired with the Sκ digit "2". The third digit in the Random Make number RM is therefore a "3". This process continues until there is the full compliment of n key digits returned. In our example, n = 10, and it will take twelve message digits to return those ten. The decryption process now knows the Random Make number RM , 2039173064.
Step 2 - Use RM to Derive Sκ, Rκ and Mκ The RM is used to derive and decrypt the remaining keys - the Source Key Sκ, the Random Key Rκ and the Message Key Mκ. This is accomplished identically as it is in the encryption process, as COMPANY_A now has the same "start" knowledge for this message as PERSON_B did when encrypting it: the Original Key Oκ and the "base" Source Key Sκ are shared, and now the Random Make number RM is known. From these, the same processes that derived the "key suite" during encryption is performed, and now COMPANY_A is ready to determine if the message is genuine.
Step 3 - Authentication a) Decrypting Digital Signature Using Source Key Sκ The process of content and sender verification begins by decrypting the message Digital Signature with the Source Key Sκ. This is done using the SEMTS "reverse" matrix with the known values being the result and the input. Passing all of the message encrypted DS numbers through will yield the segment and column values for the real DS numbers as they appear in the alphabet matrix.
b) Generate DS for Current Message and Compare with Derrvpiπl DS Once the numbers are determined and that string is realized, then t he cui i eni message's encrypted content is processed for a DS. If the two DS strings do not match (they are both in the Random Make number RM order), then either the message or the DS has been touched. A request would be sent to the sender. PERSON_B, for re-submission of the message, which is then again, uniquely encrypted. There is no cause to change the Original Key Oκ as there is no way to derive it from any touched message; and as to the remainder of the physical procedures for security on the delivery of messages, each SEMS implementation will need to handle these individually. Sender verification is inherent in the "key suite" set for any individual message - if the Random Make number RM that is derived as the first step in the decryption process leads to a key suite that does not return the message to a readable or expected content, then the message could not have been generated using the expected Original Key Oκ for PERSON_B. To handle multiple messages from multiple senders, COMPANY_A would simply institute a system of account numbers that can be placed as a header in any SEMS encrypted message. The account number then points to an Original Key Oκ that is used as the basis for decrypting the enclosed message. If the account number Original Key Oκ does not open the message, then the message is not valid, and could not be from the designated sender.
Step 4 - Distribute Master Alphabet into Alphabet Order Segment Matrix
Once the message is properly authenticated, the decryption process next uses the Message Key Mκ to distribute the master alphabet into the Alphabet Order Segment Matrix for this message.
Step 5 - Removal of False Characters
Then the message key suite is used to remove the 25 false character ollNi
Step 6 - Decryption of Remaining Encrypted Numbers Next, each remaining encrypted number is sent through the "reverse" SEMTS matrix with the known values being the result and the Message Key Mκ being the input value.
The number is only sent through if the digit is not a false number dι<_ιi inserted by the start, separation and group values returned from the Som ce K'ev S Based on these static digit positions, if the number is false it is ciiscarded. and i noi . n is decrypted. The static values for our example are a false start value from position of the Source Key Sκ, the false separation value from position 4 and the false group value from position 2. These positions yield a start of "5", a separation of "7" and a group of "2".
If the number is passed through the "reverse" matrix, the formula value is returned, and this is the segment value for the first message character. The second number passed through will yield the column value, and these two together will determine the message character based on the message dependent alphabet matrix. If the character is the "shift" entry, then the next two non-false number returns will be the letter to capitalize. This process is continued until all of the message content numbers are decrypted. When complete, COMPANY_A will have deciphered PERSON_B's "Hello there!" message.

Claims

WHAT IS CLAIMED IS:
1. A method for encrypting a message comprising the steps of: a) calculating a numerical value corresponding to each digit of a source key by using said each digit of the source key as an input variable to one of a first plurality of formulae, thereby creating a message key; b) selecting said one of the first plurality of formulae in step a) based on a corresponding digit of a random key; and c) distributing an alphabet of characters throughout a predetermined matrix for each individual message based on the message key.
2. The method according to claim 1, wherein the step c) of distributing the alphabet comprises the substeps of: (i) determining an order fill pattern for the alphabet; (ii) determining a start position of an alphabet fill in the matrix from two predetermined digits of the message key; (iii) determining a start position of a blank fill from two additional predetermined digits of the message key; (iv) determining a blank separation value from two more predetermined digits of the message key; (v) determining a blank grouping value from two further predetermined digits of the message key; (vi) designating a plurality of blank positions in the matrix starting at a position in the matrix equal to a modular sum of the start position of the alphabet fill plus the start position of the blank fill, continuing for a number of positions in the matrix equal to the blank grouping value, and then skipping a number of positions in the matrix equal to the blank grouping value; and (vii) distributing the alphabet in the matrix by starting at the start position of the alphabet fill and filling all positions not designated as blank positions according to the order fill pattern.
3. The method according to claim 1, further comprising the steps of: d) calculating a numerical value corresponding to each digit of the source key by using said each digit of the source key as an input variable to one of a second plurality of formulae, thereby creating the random key; and e) selecting said one of the second plurality of formulae in step d) based on a second digit of the source key that is cyclically offset from said each digit in step d) in accordance with a random number.
4. The method according to claim 3, wherein the step e) of selecting further comprises the substeps of: (i) using a digit of the random number corresponding to said each digit of the source key to determine a cyclical positional offset from said each digit of the source key; (ii) determining said second digit of the source key in step e) by cyclically moving a number of digits from said each digit of the source key in accordance with the cyclical positional offset; and (iii) selecting another one of said second plurality of formulae based on a third digit of the source key that is offset from said second digit of the source key by a predetermined amount if said one of the second plurality of formulae in step e) returns a value of zero.
5. The method according to claim 1, further comprising the steps of: d) calculating a numerical value corresponding to each character of the message by cyclically using a corresponding digit of the message key as an input variable to one of a second plurality of formulae, thereby creating an encrypted message; and e) selecting said one of the second plurality of formulae based on a location in the matrix in which said each character in step d) is stored.
6. The method according to claim 1, further comprising the steps of: d) calculating two numerical values corresponding to each character of the message by cyclically using two corresponding digits of the message key as input variables to a first one of a second plurality of formulae and a second one of said second plurality of formulae, respectively, thereby creating an encrypted message; e) selecting said first one of the second plurality of formulae based on a column in the matrix in which said each character in step d) is stored; and f) selecting said second one of the second plurality of formulae based on a row in the matrix in which said each character in step d) is stored.
7. The method according to claim 1, further comprising the step of: d) modular summing pairs of digits of an original key according to a random number assignment of the pairs of digits of the original key to produce said source key, which has a length less than that of the original key.
8. The method according to claim 7, wherein the step d) of modular summing further comprises the substeps of: (i) pairing a first digit of the original key with a second digit of the original key, wherein the second digit is offset from the first digit by a first cyclical offset amount; (ii) determining a first cyclical offset amount based on a digit of the random number corresponding in position to a position of the first digit; and (iii) selecting a next unused digit in the original key if the second digit paired in step (i) has already been paired with another digit of the original key.
9. The method according to claim 5, further comprising the step of: f) determining a number n by selecting predetermined digits of the source key; and g) inserting a plurality n of false characters at a beginning of the encrypted message for each message.
10. The method according to claim 5, further comprising the step of: f) interspersing a plurality of false characters throughout the encrypted message.
1 1. The method according to claim 10, further comprising the step of: g) determining a starting position, a separation value and a grouping value of the false characters using predetermined digits of the source key.
12. The method according to claim 5, further comprising the step of: f) appending an encrypted digital signature to each encrypted message that is completely unique and individual for each message that authenticates both a sender and content of the message as genuine.
13. The method according to claim 12, further comprising the step of: g) determining a digital signature based on manipulating digits of the encrypted message in accordance with a predetermined algorithm.
14. The method according to claim 13, wherein the predetermined algorithm comprises the steps of: (i) summing all position values for each integer from zero through nine used in the encrypted message; (ii) concatenating a resulting sum for each integer in order according to an order in which said each integer first appears in a random number; and (iii) using a lowest to highest ordering for those integers that do not appear at all in said random number.
15. The method according to claim 13, further comprising the step of: h) encrypting each digit of the digital signature by cyclically using each digit of the source key as an input variable to one of a third plurality of formulae; and i) selecting said one of the third plurality of formulae in accordance with a location of said each digit of the digital signature in said matrix.
16. The method according to claim 13, further comprising the step of: h) encrypting each digit of the digital signature by cyclically using two digits of the source key as input variables to a first one of a third plurality of formulae and a second one of a third plurality of formulae, respectively; i) selecting said first one of the third plurality of formulae in accordance with a column in the matrix in which said each digit of the digital signature is located; and j) selecting said second one of the third plurality of formulae in accordance with a row in the matrix in which said each digit of the digital signature is located.
17. The method according to claim 3, further comprising the steps of: f) encrypting each digit of the random number by using said each digit of the random number as an input variable to one of a third plurality of formulae; g) selecting said one of the third plurality of formulae in accordance with a cyclically corresponding digit of a base source key; and h) transmitting the encrypted random number as part of the encrypted message.
18. The method according to claim 17, wherein the step g) of selecting further comprises the substeps of: (i) inserting a random digit in the encrypted random number when said cyclically corresponding digit of the base source key equals zero; and (ii) using a next digit in the base source key to select said one of the third plurality of formulae when said cyclically corresponding digit of the base source key equals zero.
19. The method according to claim 17, further comprising the steps of: i) pairing predetermined digits of the original key; and j) modular summing the paired digits of the original key to obtain the base source key.
20. A secure electronic messaging system comprising the steps of: a) assigning to two distinct public entities, two identical original symmetric numeric keys of length n where n is an even number and of set length so that 1x10" is a substantial and agreed upon number; b) using a random number to assign and sum the digits of the original key by a formula that produces a source key one half a length of the original key; c) using a formula to assign and sum the digits of the original key as they appear in order in pairs to produce a base source key that is one half the length of the original key; d) using a first plurality of formulae and the base source key to encrypt the random number and add a resulting encrypted random number to a message contents; e) using a first formula to sum a plurality of digits of the source key to generate a random key; f) using a second plurality of formulae to generate a unique and individual message key from the random key and the source key; g) distributing up to an 81 character master alphabet into a 9 by 9 segment matrix uniquely for each individual message based on the message key; h) distributing an offset of a plurality of false characters uniquely for each message based on the source key and adding these to the message contents; i) encrypting the original message while distributing interspersed false characters by using a third plurality of formulae and based on the message and source keys; j) using a second formula to create a message signature that is completely unique and individual for each message that authenticates both the sender and the content of the message as genuine; k) encrypting the message signature by a fourth plurality of formulae and adding it to the message contents; and 1) formatting for open public transmission a resulting total encrypted message including the encrypted random number, the false character offset, the message content with interspersed false characters and the message signature to be plain ASCII text consisting of two strings of numbers separated by a carriage return and line feed.
21. A method for decrypting an encrypted message comprising the steps of: a) using a message key to uniquely distribute an alphabet into a matrix for the encrypted message; b) determining a location value of a character in the matrix by using a digit of the message key as an input variable to a first plurality of formulae, and using a corresponding digit of the encrypted message as a return value of the first plurality of formulae, thereby identifying which one of the first plurality of formulae was used to generate the corresponding digit of the encrypted message, wherein a numerical order of said one of the first plurality of formulae represents said location value; and c) outputting a character in the matrix at said location value determined in said step b), thereby outputting a decrypted message.
22. The method according to claim 21, wherein the step a) of using a message key to uniquely distribute the alphabet comprises the substeps of: (i) using a predetermined order fill pattern for the alphabet; (ii) determining a start position of an alphabet fill in the matrix from two predetermined digits of the message key; (iii) determining a start position of a blank fill from two additional predetermined digits of the message key; (iv) determining a blank separation value from two more predetermined digits of the message key; (v) determining a blank grouping value from two further predetermined digits of the message key; (vi) designating a plurality of blank positions in the matrix starting at a position in the matrix equal to a modular sum of the start position of the alphabet fill plus the start position of the blank fill, continuing for a number of positions in the matrix equal to the blank grouping value, and then skipping a number of positions in the matrix equal to the blank grouping value; and (vii) distributing the alphabet in the matrix by starting at the start position of the alphabet fill and filling all positions not designated as blank positions according to the order fill pattern.
23. The method according to claim 21, wherein the step b) of determining a location value further comprises the substeps of: (i) determining a column value of the character in the matrix by using a first digit of the message key as an input variable to a first plurality of formulae, and using a first corresponding digit of the encrypted message as a return value of the first plurality of formulae, thereby identifying which one of the first plurality of formulae was used to generate the first corresponding digit of the encrypted message, wherein a numerical order of said one of the first plurality of formulae represents said column value; and (ii) determining a row value of the character in the matrix by using a second digit of the message key as an input variable to a first plurality of formulae, and using a second corresponding digit of the encrypted message as a return value of the first plurality of formulae, thereby identifying which one of the first plurality of formulae was used to generate the second corresponding digit of the encrypted message, wherein a numerical order of said one of the first plurality of formulae represents said column value.
24. The method according to claim 21, further comprising the step of: d) generating the message key from the encrypted message and an original key.
25. The method according to claim 21, further comprising the steps of: d) calculating a numerical value corresponding to each digit of a source key using said each digit of the source key as an input variable to one of a second plurality of formulae, thereby creating the message key; and e) selecting said one of the second plurality of formulae in step d) based on a corresponding digit of a random key.
26. The method according to claim 25, further comprising the steps of: f) calculating a numerical value corresponding to each digit of the source key by using said each digit of the source key as an input variable to one of a third plurality of formulae, thereby creating the random key; and g) selecting said one of the third plurality of formulae in step f) based on a digit of the source key that is offset from said each digit in step f) in accordance with a random number.
27. The method according to claim 26, further comprising the step of: h) summing pairs of digits of the original key according to a predetermined assignment of the pairs of digits of the original key to produce a base source key, which has a length less than that of the original key; i) using each digit of the base source key as an input variable to one of a fourth plurality of formulae; j) using a corresponding predetermined digit in a predetermined location within the encrypted message as a return value from said fourth plurality of formulae for each digit of the base source key, thereby identifying which one of the fourth plurality of formulae was used to generate said corresponding predetermined digit; and k) determining each digit of the random number from a formula number corresponding to said one of the fourth plurality of formulae that was used to generate the corresponding predetermined digit.
28. The method according to claim 26, further comprising the step of: h) generating the source key by summing pairs of digits of the original key based on pair assignments obtained in a predetermined manner from a random number.
29. The method according to claim 25, further comprising the step of: f) generating each digit of the random key by using each digit of the source key as an input variable to one of a third plurality of formulae; and g) selecting said one of the third plurality of formulae based a first offset digit of the source key that is offset from said each digit of the source key in accordance with a predetermined digit of the random number.
30. The method according to claim 29, further comprising the step of: h) selecting another one of said third plurality of formulae based on a second offset digit of the source key that is offset from said first offset digit of the source key by a predetermined amount of digits if said one of the third plurality of formulae in step g) returns a value of zero.
31. The method according to claim 28, further comprising the step of: i) determining a number n by selecting predetermined digits of the source key; and j) discarding a plurality n of false characters at a beginning of the encrypted message for each message.
32. The method according to claim 28, further comprising the step of: f) discarding a plurality of false characters interspersed throughout the encrypted message.
33. The method according to claim 32, further comprising the step of: g) determining a starting position, a separation value and a grouping value of the plurality of false characters using predetermined digits of the source key.
34. The method according to claim 21, further comprising the step of: d) checking an encrypted digital signature appended to each encrypted message to determine if the message is authentic.
35. The method according to claim 34, further comprising the step of: e) decrypting each digit of the encrypted digital signature to obtain a decrypted digital signature by the substeps of: (i) using a corresponding digit of a source key as an input variable to a second plurality of formulae; (ii) using said each digit of the encrypted digital signature as a return value of the second plurality of formulae, thereby identifying which one of the second plurality of formulae was used to generate said each digit of the encrypted digital signature; (iii) using a numerical order of said one of the second plurality of formulae identified in step (ii) as a location value in said matrix; and (iv) outputting a character stored in said location in said matrix.
36. The method according to claim 34, further comprising the step of: e) decrypting the encrypted digital signature by decrypting each pair of digits of the encrypted digital signature according to the substeps of: (i) using two corresponding digits of a source key as input variables to a second plurality of formulae; (ii) using a first digit of said each pair of digits of the encrypted digital signature as a first return value of the second plurality of formulae, thereby identifying a first one of the second plurality of formulae that was used to generate said first digit of said each pair of digits of the encrypted digital signature; (iii) using a numerical order of said first one of the second plurality of formulae identified in step (ii) as a row value in said matrix; and (iv) using a second digit of said each pair of digits of the encrypted digital signature as a second return value of the second plurality of formulae, thereby identifying a second one of the second plurality of formulae that was used to generate said second digit of said each pair of digits of the encrypted digital signature; (v) using a numerical order of said second one of the second plurality of formulae identified in step (iii) as a column value in said matrix; and (vi) outputting a character located at a column and a row of said matrix according to said column and row values, respectively.
37. The method according to claim 35, further comprising the steps of: f) manipulating digits of the encrypted digital message in accordance with a predetermined algorithm to obtain a recipient generated digital signature; and g) comparing the recipient generated digital signature with the decrypted digital signature.
38. The method according to claim 37, wherein the predetermined algorithm comprises the steps of: (i) summing all position values for each integer from zero through nine used in the encrypted message; (ii) concatenating a resulting sum for each integer in order according to an order in which said each integer first appears in a random number; and (iii) using a lowest to highest ordering for those integers that do not appear at all in said random number.
PCT/US1998/012691 1997-06-20 1998-06-18 Method and system for performing secure electronic messaging WO1998059456A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU84718/98A AU8471898A (en) 1997-06-20 1998-06-18 Method and system for performing secure electronic messaging

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US08/879,708 1997-06-20
US08/879,708 US6058189A (en) 1997-06-20 1997-06-20 Method and system for performing secure electronic monetary transactions
US08/923,095 US6002769A (en) 1997-06-20 1997-09-04 Method and system for performing secure electronic messaging
US08/923,095 1997-09-04

Publications (2)

Publication Number Publication Date
WO1998059456A2 true WO1998059456A2 (en) 1998-12-30
WO1998059456A3 WO1998059456A3 (en) 1999-04-01

Family

ID=27128555

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1998/012691 WO1998059456A2 (en) 1997-06-20 1998-06-18 Method and system for performing secure electronic messaging

Country Status (2)

Country Link
AU (1) AU8471898A (en)
WO (1) WO1998059456A2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005106707A1 (en) * 2004-04-30 2005-11-10 Research In Motion Limited System and method for searching secure electronic messages
WO2013158603A1 (en) * 2012-04-16 2013-10-24 Vaporstream Incorporated Reduced traceability electronic message system and method
US8886739B2 (en) 2005-07-28 2014-11-11 Vaporstream, Inc. Electronic message content and header restrictive send device handling system and method
US9282081B2 (en) 2005-07-28 2016-03-08 Vaporstream Incorporated Reduced traceability electronic message system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4195196A (en) * 1973-10-15 1980-03-25 International Business Machines Corporation Variant key matrix cipher system
US4675477A (en) * 1964-05-13 1987-06-23 The United States Of America As Represented By The Secretary Of The Army Electronic device providing automatic permutations of a Vigenere Square
US5796832A (en) * 1995-11-13 1998-08-18 Transaction Technology, Inc. Wireless transaction and information system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4675477A (en) * 1964-05-13 1987-06-23 The United States Of America As Represented By The Secretary Of The Army Electronic device providing automatic permutations of a Vigenere Square
US4195196A (en) * 1973-10-15 1980-03-25 International Business Machines Corporation Variant key matrix cipher system
US5796832A (en) * 1995-11-13 1998-08-18 Transaction Technology, Inc. Wireless transaction and information system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667603B2 (en) 2004-04-30 2014-03-04 Blackberry Limited System and method for searching secure electronic messages
WO2005106707A1 (en) * 2004-04-30 2005-11-10 Research In Motion Limited System and method for searching secure electronic messages
US9306886B2 (en) 2005-07-28 2016-04-05 Vaporstream, Inc. Electronic message recipient handling system and method with separated display of message content and header information
US8886739B2 (en) 2005-07-28 2014-11-11 Vaporstream, Inc. Electronic message content and header restrictive send device handling system and method
US9282081B2 (en) 2005-07-28 2016-03-08 Vaporstream Incorporated Reduced traceability electronic message system and method
US9306885B2 (en) 2005-07-28 2016-04-05 Vaporstream, Inc. Electronic message send device handling system and method with media component and header information separation
US9313156B2 (en) 2005-07-28 2016-04-12 Vaporstream, Inc. Electronic message send device handling system and method with separated display and transmission of message content and header information
US9313157B2 (en) 2005-07-28 2016-04-12 Vaporstream, Inc. Electronic message recipient handling system and method with separation of message content and header information
US9313155B2 (en) 2005-07-28 2016-04-12 Vaporstream, Inc. Electronic message send device handling system and method with separation of message content and header information
US9338111B2 (en) 2005-07-28 2016-05-10 Vaporstream, Inc. Electronic message recipient handling system and method with media component and header information separation
US9413711B2 (en) 2005-07-28 2016-08-09 Vaporstream, Inc. Electronic message handling system and method between sending and recipient devices with separation of display of media component and header information
US10412039B2 (en) 2005-07-28 2019-09-10 Vaporstream, Inc. Electronic messaging system for mobile devices with reduced traceability of electronic messages
US10819672B2 (en) 2005-07-28 2020-10-27 Vaporstream, Inc. Electronic messaging system for mobile devices with reduced traceability of electronic messages
US11652775B2 (en) 2005-07-28 2023-05-16 Snap Inc. Reply ID generator for electronic messaging system
WO2013158603A1 (en) * 2012-04-16 2013-10-24 Vaporstream Incorporated Reduced traceability electronic message system and method

Also Published As

Publication number Publication date
WO1998059456A3 (en) 1999-04-01
AU8471898A (en) 1999-01-04

Similar Documents

Publication Publication Date Title
US6002769A (en) Method and system for performing secure electronic messaging
Simmons Symmetric and asymmetric encryption
Trappe Introduction to cryptography with coding theory
EP1873960B1 (en) Method for session key derivation in a IC card
Simmons Subliminal channels; past and present
Delfs et al. Introduction to cryptography
Daemen Cipher and hash function design strategies based on linear and differential cryptanalysis
Simmons A survey of information authentication
US4881264A (en) Digital signature system and method based on a conventional encryption function
EP0678836B1 (en) Method and means for combining and managing personal verification and message authentication encryptions for network transmission
EP0403656A1 (en) Communication equipment
US6192129B1 (en) Method and apparatus for advanced byte-oriented symmetric key block cipher with variable length key and block
Baumslag et al. A course in mathematical cryptography
WO2001020842A1 (en) Data mapping method and apparatus with multi-party capability
Simmons Secure communications and asymmetric cryptosystems
Alfred et al. Handbook of applied cryptography
Ryabko et al. Basics of contemporary cryptography for IT practitioners
Black Jr Message authentication codes
Knudsen et al. MacDES: a new MAC algorithm based on DES
CA2210763C (en) Key generation from a given string for entity authentication
WO1998059456A2 (en) Method and system for performing secure electronic messaging
Rajasekar et al. Introduction to Classical Cryptography
Diffie et al. Privacy and Authentication: An Introduction to Cryptography
Maurer et al. Information Security and Cryptography
Simmons Symmetric and asymmetric encryption

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
AK Designated states

Kind code of ref document: A3

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase in:

Ref country code: JP

Ref document number: 1999504795

Format of ref document f/p: F

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase in:

Ref country code: CA