METHODS AND SYSTEMS FOR ENHANCED DATA-CENTRIC ENCRYPTION SYSTEMS USING GEOMETRIC ALGEBRA
20180041481 ยท 2018-02-08
Assignee
Inventors
Cpc classification
H04L9/0838
ELECTRICITY
H04L9/06
ELECTRICITY
H04L9/0861
ELECTRICITY
H04L63/0435
ELECTRICITY
H04L9/0618
ELECTRICITY
H04L9/0819
ELECTRICITY
H04L9/0656
ELECTRICITY
International classification
H04L9/06
ELECTRICITY
Abstract
Disclosed are methods and systems to encrypt and decrypt a data message using Geometric Algebra. The encrypt operation performed on a source computing device uses the geometric product (Clifford Product) of a multivector created from plain text/data of the data message with one or more other multivectors that carry encryption keys, the identity of the source and/or other data-centric information. The source computing device sends the encrypted message to a destination computing device. The decrypt operation performed on the destination computing devices recovers the original message multivector, and ultimately the original data message by employing geometric algebra operations such as multivector inverse, Clifford conjugate and others along with the geometric product. Various embodiments may employ a geometric product of the message and encryption/shared secret key, or various embodiments may utilize a geometric product sandwich and/or multivector based Sylvester's equation to increase the confusion and/or diffusion of the encryption system,
Claims
1. A method for the encrypted transfer of numeric message data (M) from a source computing device to a destination computing device, the method comprising: distributing by said source computing device said numeric message data (M) into coefficients of a message multivector (
2. The method of claim 1 wherein evaluation of Geometric Algebra geometric products and inverses of multivectors is implemented on said source computing device and said destination computing device using basic arithmetic operations of addition, subtraction, multiplication, and division.
3. The method of claim 2 wherein said implementation of said Geometric Algebra geometric products and inverses of multivectors on said source computing device and said destination computing device does not include a complex operation to select a prime number, to calculate a logarithm function, and/or to calculate a natural logarithm function.
4. The method of claim 1 further comprising: converting by said source computing device an original alphanumeric text message into said numeric message data (M) as a function of standard computer character encoding characteristics; and converting by said destination computing device said numeric message data (M) back into said original alphanumeric text message as a function of said standard computer character encoding characteristics.
5. The method of claim 4 wherein said standard computer character encoding characteristics are ASCII (American Standard Code for Information Exchange) codes of text characters of said original alphanumeric text message.
6. The method of claim 1 further comprising establishing said shared secret numeric value (S.sub.S) between said source computing device and said destination computing device using a known shared secret technique.
7. The method of claim 6 wherein said known shared secret technique is comprised of at least one of a group chosen from: pre-conditioning said source computing device and said destination computing device with said shared secret numeric value (S.sub.S), standard public/private key exchange technique, RSA (Rivest-Shamir-Adleman) key exchange, and Diffie-Hellman key exchange.
8. The method of claim 1 wherein said at least one Geometric Algebra geometric product operation is comprised of at least one of a group chosen from: a geometric product (
9. The method of claim 1 wherein said message multivector (
10. The method of claim 9 wherein a dimension size (N) of said message multivector (
11. The method of claim 10 wherein a number of coefficients for said message multivector (
12. The method of claim 10 wherein an increase in said dimension size (N) of said message multivector (
13. The method of claim 10 wherein an increase in said dimension size (N) of said message multivector (
14. The method of claim 10 wherein said dimension size (N) of said message multivector (
15. The method of claim 14 wherein said additional feature data is comprised of at least one of a group chosen from: dummy data to increase encryption security, command instructions for additional operations, and configuration data for said additional operations.
16. The method of claim 1: wherein said process of encrypting by said source computing device said cryptotext multivector (
17. The method of claim 16 wherein said 0-Blade Reduction Operation is a geometric product (S.sub.S.sub.
18. The method of claim 16 wherein said Geometric Algebra geometric product operations are comprised of at least one of a group chosen from: geometric product sandwich (
19. The method of claim 1 wherein said processes of sending by said source computing device said cryptotext multivector (
20. The method of claim 19: wherein said process of encrypting by said source computing device said cryptotext multivector (
21. The method of claim 20 wherein said 0-Blade Reduction Operation is a geometric product (S.sub.S.sub.
22. The method of claim 20 wherein said Geometric Algebra geometric product operations are comprised of at least one of a group chosen from: geometric product sandwich (
23. The method of claim I wherein numeric values of said numeric message data (M), coefficients of said message multivector (
24. A method for encrypting numeric message data (M) on a source computing device in order to facilitate transfer of encrypted data from said source computing device to a destination computing device, the method comprising: distributing by said source computing device said numeric message data (M) into coefficients of a message multivector (
25. A method for decrypting a cryptotext multivector (
26. An Enhanced Data-Centric Encryption (EDGE) system for the encrypted transfer of numeric message data (M), the EDCE system comprising: a source computing device, wherein said source computing device further comprises: a source numeric message distribution subsystem that distributes said numeric message data (/1) into coefficients of a message multivector (
27. The EDCE system of claim 26 wherein evaluation of Geometric Algebra geometric products and inverses of multivectors is implemented on said source computing device and said destination computing device using basic arithmetic operations of addition, subtraction, multiplication, and division.
28. The EDCE system of claim 27 wherein said implementation of said Geometric Algebra geometric products and inverses of multivectors on said source computing device and said destination computing device does not include a complex operation to select a prime number, to calculate a logarithm function, and/or to calculate a natural logarithm function.
29. The EDCE system of claim 26: further comprising: wherein said source computing device further comprises a source alphanumeric text conversion subsystem that converts an original alphanumeric text message into said numeric message data (M) as a function of standard computer character encoding characteristics; and wherein said destination computing device further comprises a destination alphanumeric text conversion subsystem that converts said numeric message data (M) back into said original alphanumeric text message as a function of said standard computer character encoding characteristics.
30. The EDGE system of claim 29 wherein said standard computer character encoding characteristics are ASCII (American Standard Code for Information Exchange) codes of text characters of said original alphanumeric text message.
31. The EDGE system of claim 26 wherein said shared secret numeric value (S.sub.S) between said source computing device and said destination computing device is established by a known shared secret technique.
32. The EDGE system of claim 31 wherein said known shared secret technique is comprised of at least one of a group chosen from: pre-conditioning said source computing device and said destination computing device with said shared secret numeric value (S.sub.S), standard public/private key exchange technique, RSA (Rivest-Shamir-Adleman) key exchange, and Diffie-Hellman key exchange.
33. The EDGE system of claim 26 wherein said at least one Geometric Algebra geometric product operation is comprised of at least one of a group chosen from: a geometric product (
34. The EDGE system of claim 26 wherein said message multivector (
35. The EDCE system of claim 34 wherein a dimension size (N) of said message multivector (
36. The EDCE system of claim 35 wherein a number of coefficients for said message multivector (
37. The EDCE system of claim 35 wherein an increase in said dimension size (N) of said message multivector (
38. The EDCE system of claim 35 wherein an increase in said dimension size (N) of said message multivector (
39. The EDGE system of claim 35 wherein said dimension size (N) of said message multivector (
40. The EDCE system of claim 39 wherein said additional feature data is comprised of at least one of a group chosen from: dummy data to increase encryption security, command instructions for additional operations, and configuration data for said additional operations.
41. The EDCE system of claim 26: wherein said source computing device further comprises: a source second shared secret key generation subsystem that generates a second shared secret key (S.sub.S.sub.
42. The EDGE: system of claim 41 wherein said 0-Blade Reduction Operation is a geometric product (S.sub.S.sub.
43. The EDCE system of claim 41 wherein said Geometric Algebra geometric product operations are comprised of at least one of a group chosen from: geometric product sandwich (
44. The EDCE system of claim 26: wherein said source send subsystem further comprises: a source cryptotext multivector to numeric data subsystem that converts said cryptotext multivector (
45. The EDCE system of claim 44: wherein said source computing device further comprises: a source second shared secret key generation subsystem that generates a second shared secret key (S.sub.S.sub.
46. The EDCE system of claim 45 wherein said 0-Blade Reduction Operation is a geometric product (S.sub.S.sub.
47. The EDCE system of claim 45 wherein said Geometric Algebra geometric product operations are comprised of at least one of a group chosen from: geometric product sandwich (
48. The EDCE system of claim 26 wherein numeric values of said numeric message data (M), coefficients of said message multivector (
49. An Enhanced Data-Centric Encryption (EDCE) source computing device for encrypting numeric message data (M) in order to facilitate transfer of encrypted data from said EDCE source computing device to a destination computing device, the EDCE source computing device comprising: a source numeric message distribution subsystem that distributes said numeric message data (M) into coefficients of a message multivector (
50. An Enhanced Data-Centric Encryption (EDCE) destination computing device for decrypting a cryptotext multivector (
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In the drawings,
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
Detailed Description of the Embodiments
[0020] An embodiment may advantageously utilize Geometric Algebra to provide the encryption and decryption of numeric messages that are to be transmitted through, and possibly have stored by, an intermediary computing system (e.g., the broad-lased computing system currently, and commonly, referred to as the Cloud, or cloud computing). An embodiment of the Geometric Algebra encryption/decryption system that performs the encryption/decryption functions of transferring data securely using Geometric Algebra based encryption/decryption from a source/sender system to a destination/receiver system may be referred to as an Enhanced Data-Centric Encryption (EDGE) system.
[0021] Geometric Algebra is an area of mathematics that describes the geometric interaction of vectors and other objects in a context intended to mathematically represent physical interactions of objects in the physical world. The use of Geometric Algebra for cryptography represents a new, manmade use of Geometric Algebra for a purpose entirely outside of the natural basis of Geometric Algebra for representing physical interactions of objects in the real, physical, word. As used herein, this area of mathematics encompasses Geometric Algebra, Conformal Geometric Algebra and Clifford Algebra (referred to collectively herein as Geometric Algebra). Generally, Geometric Algebra defines the operations, such as geometric product, inverses and identities, which facilitate many features of embodiments of the example EDGE system embodiments disclosed herein. Further, Geometric Algebra allows for the organization and representation of data into the payload of a multivector where the data in the payload may represent, for example, plaintext, cryptotext, or identifying signatures. Consequently, embodiments of the EIKE system make beneficial use of Geometric Algebra properties to provide encryption and decryption operations in a relatively computationally simplistic manner while still providing robust security for both data in motion and data at rest (e.g., data stored in the Cloud).
[0022] When encrypted data is transferred through an intermediary computing system, such as is done with cloud based computing, the encrypted data values may be stored on the intermediary computing system until such time a user wants or is attached to the network to allow delivery of the encrypted data value from the source computing device via the intermediary computing system. Alternatively, the encrypted data values may be immediately forwarded to a destination computing device by the intermediary computing system as soon as the subject encrypted data values are received by the intermediary computing system. However, as one skilled in the art will recognize, the process of receiving the encrypted data values at the intermediary computing system inherently includes storing the encrypted data values at the intermediary computing system even if only fleetingly in an immediately used and erased Random Access Memory (RAM) location or operational register location of a computational subsystem of the intermediary computing system.
[0023] Embodiments of EDGE system embodiments may be comprised of functional blocks, each of which may be tailored as described in more detail below according to objectives for scope, capability and security, The following sections provide a mathematical and numerical description of these functional blocks.
[0024] In order to help minimize the potential confusion of the complex subject matter herein, the descriptions below have been split up to separately cover foundational various topics regarding embodiments of an EDGE system. In view of that, Section 1 provides a general description of embodiments of the foundational operations of an EDGE system. Section 2 provides additional descriptions of embodiments of the foundational EDGE system, including the packing of information into multivectors the encryption and decryption of such multivectors and the unpacking to recover the original information. Appendix A provides a Geometric Algebra. Overview. Generally, in this description, as is the typical convention, for particular examples of operations, Alice and Bob are used for the sending/source and receiving/destination entities, respectively. Thus, the arrangement of the disclosure may be summarized as follows:
[0025] Section 1: General EDGE Message Encryption/Decryption [0026] A. Hardware Implementation for EDGE Embodiments (
[0028] Section 2: Additional Descriptions of EDGE Message Encryption/Decryption [0029] A. Packing and unpacking multivectors [0030] 1) Text to number [0031] 2) Number to text [0032] 3) Multivector Data Structure [0033] 4) Number to multivector [0034] 5) Multivector to number [0035] B. Shared Secret [0036] C. Cryptotext creation [0037] D. Decryption [0038] E. EDCE Flow Chart (
[0045] Appendix A: Geometric Algebra Overview
Section 1: General EDCE Message Encryption/Decryption
[0046] With the arrival of the interact and many forms of mobile devices, the volume of encrypted data is growing exponentially. Portable devices like thumb drives, smart cards and Solid State Disks (SSDs) contain both plain text and or encrypted passive data storage. Passive data storage is found on the tiny devices for the Internet of Things (IoT) as well as the large memories in server farms.
[0047] When data leaves storage, when it is in motion, it is even more vulnerable to attack. Current encryption techniques have not evolved alongside network security infrastructure and they are not well suited for the sheer volume of data in motion. As we move towards cloud computing, as mobile devices move us towards perimeter-less network security, the industry is moving away from trusting just the security of networks, servers or applications and focusing toward data-centric encryption. With data-centric encryption and authentication there are controls that are traveling with the data rather than just happening at the application layer or the final destination in a network.
[0048] However, the fluidity of this data in motion stalls with the computationally intensive mathematics that remain at the heart of current encryption infrastructures. Ciphers such as RSA (Rivest-Shamir-Adieman), DES (Data Encryption Standard) and/or AES (Advanced Encryption Standard) are little more than static machinery that bogs down communication efficiency. The actual problem is much bigger. How can robust security be provided when: [0049] a) End-point computational resources are limited (e.g., the Internet of Things IoT). [0050] b) Encryption/decryption must be near-real time [0051] c) Authentication of the source and destination must be continuously reasserted
[0052] An embodiment may be described as enhanced data-centric encryption, or EDGE. Compared to incumbent encryption schemes, EDGE is computationally simplistic while providing robust security over the span of the communication channel. EDGE security is scalable from tiny embedded IoT (Internet of Things) devices up to server farms. EDGE functionality enables many cipher schemes that show speed and bandwidth advantages over current methods. One aspect of EDGE that provides speed enhancement in the encryption/decryption of data is that the EDGE encryption/decryption may be implemented using basic arithmetic operations of addition, subtraction, multiplication, and division. Notably, EDGE does not require a complex operation to select a large prime number, to calculate a logarithm function, to calculate a natural logarithm function, and/or to calculate other complex and computationally intensive mathematical functions (i.e., prime numbers, logarithms, natural logarithms, and/or other complex mathematical Operations are not required in the Geometric Algebra calculations disclosed herein).
[0053] A central feature of the various embodiments is the use of Geometric Algebra, an area of mathematics that has not been utilized before in encryption. Geometric Algebra as used herein is an area of mathematics that encompasses Geometric Algebra, Conformal Geometric Algebra and Clifford Algebra (collectively herein, Geometric Algebra). Geometric Algebra allows for the organization and representation of data into the payload of a multivector where the data may be plaintext, cryptotext, or signatures, for example. Geometric Algebra defines the operations, such as geometric product, inverses and identities, which are the enablers of encryption/decryption calculations of various embodiments.
[0054] Multivectors are simply the additive combination of a scalar, a vector, a bi-vector and so forth up to an n-dimension vector. However, the unit vectors follow the algebraic structure of quaternions (Hamilton) and non-commutative algebra (Grassman). These two types of algebra allowed Clifford to conceive of the Geometric Product which is used by the various embodiments as one of the primitive functions of the embodiments of EDCE systems.
[0055] An example of a two-dimension (2D) multivector A that includes a scalar and a vector is:
=a.sub.0+a.sub.1.sub.1+a.sub.2.sub.2+a.sub.12.sub.12
where .sub.i is a unit vector along the i-axis and .sub.12 represents the orientation of the area created by a.sub.12. The operations of Geometric Algebra on multivectors are discussed more fully in Appendix A herein, below, but some general observations may be helpful to the description of the various embodiments disclosed below. First, each of the a.sub.i values in the multivector above may be packed with information and each a.sub.i value may range from zero to very large (e.g., >256,000 bits or an entire message). Secondly, the inverse of when multiplied by yields unity, or:
.sup.1=1
Thus, if a second multivector
.sup.1
[0056] For the various embodiments, the payload may be packed in the values of the scalars and coefficients of the multivector elements, To ensure that EDCE systems may perform properly, it is necessary to have some limitations on the coefficient values chosen for the multivectors. For instance, the Rationalize operation on multivectors yields zero when all multivector coefficients are equal. Such multivectors having all equal coefficients have no inverse and the geometric product of such multivectors having all equal coefficients with another multivector has no inverse. As discussed in more detail below, the decryption methodology for EDCE systems utilize the inverse of the cryptotext multivector being decrypted and of the security keys) multivector to perform the decryption. Therefore, the cryptotext multivector being decrypted should not have all equal value coefficients. One means to ensure that the cryptotext multivector being decrypted does not have all equal value coefficients is to have the packing/coefficient distribution method ensure that not all coefficients are equal to each other (i.e., at least one coefficient should be different than the other coefficients) when creating the shared security multivector(s) and the data message multivectors, For an embodiment of the EDCE that simply transfers the data message, ensuring that that not all coefficients are equal to each other when creating the shared security multivector(s) and the data message multivectors will ensure that the cryptotext multivector to be decrypted will not have all equivalent coefficients.
[0057] Additionally, separate multivectors may be encoded for many purposes, such as a shared secret (defined below), authentication information, and timestamps. In addition to the encryption and decryption of a message, the EDCE multivector format and Geometric Algebra foundation of an EDGE embodiment may enable a single transmission to contain far more than just cryptotext, including dummy data to increase encryption security, command instructions for additional operations, and/or configuration data for the additional operations.
[0058] A. Hardware Implementation for EDCE Embodiments (
[0059]
[0060] Further, as shown in
[0061] Various embodiments may implement the network/bus communications channel 104 using any communications channel 104 capable of transferring electronic data between the first 102 and second 106 computing devices. For instance, the network/bus communication connection 104 may he an Internet connection routed over one or more different communications channels during transmission from the first 102 to the second 106 computing devices. Likewise, the network bus communication connection 104 may be an internal communications bus of a computing device, or even the internal bus of a processing or memory storage Integrated Circuit (EC) chip, such as a memory chip or a Central Processing Unit (CPU) chip. The network/bus communication channel 104 may utilize any medium capable of transmitting electronic data communications, including, but not limited to: wired communications, wireless electro-magnetic communications, fiber-optic cable communications, light/laser communications, sonic/sound communications, etc., and any combination thereof of the various communication channels.
[0062] The various embodiments may provide the control and management functions detailed herein via an application operating on the first 102 and/or second 106 computing devices. The first 102 and/or second 106 computing devices may each be a computer or computer system, or any other electronic devices device capable of performing the communications and computations of an embodiment. The first 102 and second 104 computing devices may include, but are not limited to: a general purpose computer, a laptop/portable computer, a tablet device, a smart phone, an industrial control computer, a data storage system controller, a CPU, a Graphical Processing Unit (GPU), an Application Specific Integrated Circuit (ASI), and/or a Field Programmable Gate Array (FPGA). Notably, the first 102 and second 106 computing devices may be the storage controller of a data storage media (e.g., the controller for a hard disk drive) such that data delivered to/from the data storage media is always encrypted so as to limit the ability of an attacker to ever have access to unencrypted data. Embodiments may be provided as a computer program product which may include a computer-readable, or machine-readable, medium having stored thereon instructions which may be used to program/operate a computer (or other electronic devices) or computer system to perform a process or processes in accordance with the various embodiments. The computer-readable medium may include, but is not limited to, hard disk drives, floppy diskettes, optical disks, Compact Disc Read-Only Memories (CD-ROMs), Digital Versatile Disc ROMS (DVD-ROMs), Universal Serial Bus (USB) memory sticks, magneto-optical disks, ROMs, random access memories (RAMS), Erasable Programmable ROMs (EPROMs), Electrically Erasable Programmable ROMs (EEPROMs), magnetic optical cards, flash memory, or other types of media/machine-readable medium suitable for storing electronic instructions. The computer program instructions may reside and operate on a single computer/electronic device or various portions may be spread over multiple computers/devices that comprise a computer system. Moreover, embodiments may also be downloaded as a computer program product, wherein the program may be transferred from a remote computer to a requesting computer by way of data signals embodied in a carrier wave or other propagation medium via a communication link (e.g., a modem or network connection, including both wired/cabled and wireless connections).
B. General EDGE Operational Flow Charts (FIGS. 2-4)
[0063]
[0064] At process 208, the source 202 converts any alphanumeric text in the message into numeric message data (M) based on the alphanumeric encoding protocol (e.g., ASCII, other English language/alphabetic coding systems, foreign language encoding for non-alphabetic languages (e.g., katakana for Japanese), or even pure symbol to numeric values such as for emojii's) of the original text. Again, both the source 202 and destination 204 need to know and use the same alphanumeric text conversion into a numeric value process to ensure that results of both the source 202 and the destination 204 are the same. If the message data is already in numeric form, it is not necessary to perform process 208 as the original numeric message data (M) may be used as is. The various embodiments may perform the encryption process with numeric Message data (M) that is, but are not limited to: positive numbers, negative numbers, zero, integer numbers, and/or real numbers. At process 210, the source 202 distributes the numeric message data (M) into message multivector (
[0065] Again, for the various embodiments, the payload may be packed in the values of the scalars and coefficients of the multivector elements. To ensure that EDGE systems may perform properly, it is necessary to have some limitations on the coefficient values chosen for the multivectors. For instance, the Rationalize operation on multivectors yields zero when all multivector coefficients are equal. Such multivectors having all equal coefficients have no inverse and the geometric product of such multivectors having all equal coefficients with another multivector has no inverse. As discussed in more detail below, the decryption methodology for EDCE systems utilize the inverse of the cryptotext multivector being decrypted and of the security key(s) multivector to perform the decryption. Therefore, the cryptotext multivector being decrypted should not have all equal value coefficients. One means to ensure that the cryptotext multivector being decrypted does not have all equal value coefficients is to have the packing/coefficient distribution method ensure that not all coefficients are equal to each other (i.e., at least one coefficient should be different than the other coefficients) when creating the shared security multivector(s) and the data message multivectors. For an embodiment of the EDGE that simply transfers the data message, ensuring that that not all coefficients are equal to each other when creating the shared security multivector(s) and the data message multivectors will ensure that the cryptotext multivector to be decrypted will not have all equivalent coefficients.
[0066] It is not necessary that the distribution (i.e., packing) of the message multivector (
[0067] It is noteworthy that the number of potential coefficients is directly related to the size/dimension (N) of the multivectors such that the number of coefficients increases by a factor of 2 (i.e., 2.sup.N) for each incremental increase in the size/dimension (N) of the multivector. To increase the confusion and/or diffusion of the encryption process disclosed herein, using multivectors of at least two dimensions will provide at least four coefficients to distribute the numeric data of the message (M) and the shared secret (S.sub.S). By increasing the number of dimensions (N) of multivectors beyond two-dimension multivectors, the confusion and/or diffusion security characteristics will also be increased due to the additionally available multivector coefficients. Further, with the additionally available coefficients it is also possible to transfer more data in a single multivector message (
[0068] At process 214, the source 202 encrypts a cryptotext multivector (
[0069] Due to the nature of the geometric product operation of Geometric Algebra, there are many possible variations of the geometric product application that will provide similar degrees of confusion and diffusion. Some, but not all, of the potential geometric product calculations to encrypt the message data (M) include: a geometric product (
[0070] At process 220, the destination 204 receives the cryptotext numeric data (C) sent by the source 202. At process 222., the destination distributes the cryptotext numeric data (C) into the cryptotext multivector (
[0071]
[0072] At process 304, the source computing device distributes the second shared secret key numeric value (S.sub.S.sub.
[0073] At process 306, the source computing device encrypts the cryptotext multivector (
[0074]
[0075] At process 314, the destination computing device also distributes the second shared secret key numeric value (S.sub.S.sub.
[0076] At process 316, the destination computing device decrypts the cryptotext multivector (
[0077]
[0078] At process 404, the source computing device distributes the second shared secret key numeric value (S.sub.S.sub.
[0079] At process 406, the source computing device encrypts the cryptotext multivector (
[0080] At process 408, in the process of the source computing device for converting the cryptotext multivector (
[0081]
[0082] The remaining decryption process 226 of the destination 204 of
[0083] At process 416, the destination computing device also distributes the second shared secret key numeric value (S.sub.S.sub.
[0084] At process 416, the destination computing device decrypts the cryptotext multivector (
[0085] Additionally, while the flow charts and flow chart details described above with respect to
Section 2: Additional Descriptions of EDCE Message Encryption/Decryption
[0086] The disclosure below provides a simplified example of the operations and data relationships during the performance of an EDCE, embodiment. The amount of data, the type of data, and the particular data values shown and described in the example are not meant to represent any particular real system, but are provided only for the purpose of showing the operations and data relationships of an embodiment. Further, the embodiments described below are not meant to restrict operations to particular data types, encryption shared secret key exchange techniques, text to numeric and back conversion techniques, and/or number to multivector coefficient assignment techniques.
[0087] In addition to the utilization of the Geometric Algebra geometric product as a novel encryption primitive, the various embodiments may be comprised of functional blocks, each of which may be tailored as described according to objectives for scope, capability and security. The following sections provide a mathematical and numerical description of one or more example embodiments of these functional blocks. The numerical results in the examples are generally derived from Geometric Algebra executing in the C programming language.
A. Packing and Unpacking Multivectors
[0088] Contents [0089] 1) Text to Number [0090] 2) Number to text [0091] 3) Multivector data structure [0092] 4) Number to multivector [0093] 5) Multivector to number
[0094] 11) Text to Number
[0095] For the example EDCE embodiment described herein, each text message needs to be converted to a number in order to become a valid operational unit for all EDGE computations. For the embodiments shown herein, the numbers are typically shown in base 10, but the various embodiments may choose other number bases as desired by the system designer. For instance, a hex (base 16) representation may provide particular advantages when dealing with ASCII numerical representations as standard ASCII has a representation based on the numbers 0-127 (i.e., 2.sup.7), which is one power of two (i.e., hex is 2.sup.8) less than the typical 8 bits represented by a hex number of xFF. According to the ASCII character-encoding scheme, symbols such as the letters a, b, c and so on, are represented in order formats (such as binary, decimal, octets, hexadecimal, etc.), which are described in the ASCII printable code chart, a table that presents the relationship between formats. So the letters a, if and c in ASCII decimal code are 97, 93 and 99, respectively.
[0096] As an example, assume that the plaintext text message is message. In ASCII decimal code, this is represented as follows:
TABLE-US-00001 m e s s a g e 109 101 115 115 97 103 101
[0097] With this relationship between symbols and decimal numbers, the conversion from text to number in base 10, using the text message, is executed as follows:
[0098] The variable n represents the final number of the conversion from text to number. We start defining this variable to zero. So, n=0.
[0099] 100671 Then we create an array with the ASCII decimal codes for each letter of the message: [0100] text message [0101] ASCII_array_from_message=[109, 101, 115, 1.15, 97, 103, 101]
[0102] This array has a size of 7 elements, thus array size=7
[0103] Then, for each value of the array of ASCII characters, in a loop, we will [0104] (i) multiply n by 256 (we chose 256 because it is a power of two greater than the largest number in the ASCII printable code chart, so we are reserving a space of 8 bits, since 2.sup.8=256) [0105] (ii) sum with the equivalent ASCII decimal code, assigning the result to the same initial a variable, as follows: [0106] For i=0; i<array_size; i++ [0107] n=n*256+ascii_array_from_message[i]
[0108] Note the details of each iteration below:
TABLE-US-00002 n = 0 For i = 3 array = [109, 101, 115, 115, 97, 103, n = 7169395 * 256 + 115 101] n = 1835365235 array_size = 7 For i = 4 For i = 0 n = 1835365235 * 256 + 97 n = 0 * 256 + 109 n = 469853500257 n = 109 For i = 5 For i = 1 n = 469853500257 * 256 + 103 n = 109 * 256 + 101 n = 120282496065895 n = 28005 For i = 6 For i = 2 n = 120282496065895 * 256 + 101 n = 28005 * 256 + 115 n = 30792318992869221 n = 7169395
[0109] By performing the above calculation, the final value of a is; 30792318992869221
[0110] Thus, the plain text message as a number in base 10 is equal to 30792318992869221. Once we have a base 10 number it is possible to perform the calculations described herein for message encryption. If desired, entropy may be added at this step by performing transformations on the ASCII codes, such as addition or modulo operations. No such entropy adding transformations are used in the examples that follow.
2) Number to Text
[0111] After performing various calculations, a base 10 number is transmitted and received. From the above example of a message multivector, the coefficients are concatenated to form a number string, The number to text conversion process for this number string also uses the ASCII printable code chart, but the recovery routine is different from the text to number conversion. The procedure is described below:
[0112] We start with the variable s, which is an empty string that will become the final text recovered from the input number, (Note: the symbol is from the C-language and means empty string)
s=
[0113] The input number is 30792318992869221.
[0114] n=30792318992869221
[0115] Now, we perform a loop until n is emptied, since this number refers to an actual text message. This means the loop will stop when n is equal to zero. In each loop iteration, we will recover, from the last to the first, each ASCII decimal code correspondent to the text that we are retrieving. To do that, we will perform a bitwise AND operation using the value 0FF (which is 256-1 in hexadecimal format or in base 16). We will convert the code to character symbols and concatenate with the current string, always putting the most recent recovered character in the front of the string. Lastly, we will update the value of n by performing a right shift of 8 bits.
[0116] Let's say that the function get_char converts the ASCII decimal code to a character symbol.
[0117] The procedure is as follows:
[0118] while n>0
s=get_char(n AND 0FF)+s
[0119] Note the details of each iteration below: [0120] s= [0121] n=70392318992869221 [0122] while n>0
s=get_char(n AND 0FF)+s
TABLE-US-00003 Iteration 0: Iteration 4: ascii_code = n AND 0xFF = 101 ascii_code = n AND 0xFF = 115 s = get_char(ascii_code) + s s = get_char(ascii_code) + s s = e s = ssage n = n >> 8 n = n >> 8 n = 120282496065895 n = 28005 Iteration 1: Iteration 5: ascii_code = n AND 0xFF = 103 ascii_code = n AND 0xFF = 101 s = get_char(ascii_code) + s s = get_char(ascii_code) + s s = ge s = essage n = n >> 8 n = n >> 8 n = 469853500257 n = 109 Iteration 2: Iteration 6: ascii_code = n AND 0xFF = 97 ascii_code = n AND 0xFF = 109 s = get_char(ascii_code) + s s = get_char(asscii_code) + s s = age s = message n = n >> 8 n = n >> 8 n = 1835365235 n = 0 Iteration 3: ascii_code = n AND 0xFF = 115 s = get_char(ascii_code) + s s = sage n = n >> 8 n = 7169395
[0123] Thus, the number 30792318992869221 is converted to the text string message, which agrees with the original plaintext.
3) Multivector Data Structure
[0124] For the example embodiment discussed herein, any number in base 10 may be a coefficient of a multivector element. A multivector may contain arbitrary data, or data that is a result of a series of operations. A base 10 number may also be represented in multivector form by distributing pieces of this number string to the coefficients in the multivector. Multivectors that are 2D have 4 elements/coefficients available to pack with pieces of this number string, a 3D multivector has 8 elements, and 4D has 16, EDCE, has been demonstrated up to at 7D. A 4D multivector with 16 elements is written as:
=a.sub.0+a.sub.1e.sub.1+a.sub.2e.sub.2+a.sub.3e.sub.3+a.sub.4e.sub.4+a.sub.12e.sub.12+a.sub.13e.sub.13+a.sub.14e.sub.14+a.sub.23e.sub.23+a.sub.24e.sub.24+a.sub.34e.sub.34+a.sub.123e.sub.123+a.sub.124e.sub.124+a.sub.134e.sub.134+a.sub.234e.sub.234+a.sub.1234e.sub.1234
4) Number to Multivector
[0125] Given the base 10 number string 30792318992869221, this string may be a single coefficient of, say, a 2D multivector, as follows:
0+30792318992869221e.sub.1+e.sub.2+e.sub.12
[0126] EDCE has been demonstrated where the number string distributed to an element of the multivector exceeds 4,000 digits, However, the base 10 number in our example will typically be distributed in an ad hoc manner across all the multivector elements, such as:
30792+31899e.sub.1+28692e.sub.2+21e.sub.12
[0127] The above distribution is called number to multivector. For an EDCE embodiment, the method of distributing the number string may be according to any of a variety of algorithms as long as the method is known and used by both the sending and receiving entities. To increase cryptographic confusion, the distribution algorithm may include shuffling of the assignments to elements, performing functional operations on numbers assigned to elements or changing the algorithm between messages in a conversation. More operations increase encryption entropy.
[0128] Again, for the various embodiments, the payload may be packed in the values of the scalars and coefficients of the multivector elements. To ensure that EDCE systems may perform properly, it is necessary to have some limitations on the coefficient values chosen for the multivectors, For instance, the Rationalize operation on multivectors yields zero when all multivector coefficients are equal. Such multivectors having all equal coefficients have no inverse and the geometric product of such multivectors having all equal coefficients with another multivector has no inverse. As discussed in more detail below, the decryption methodology for EDCE systems utilize the inverse of the cryptotext multivector being decrypted and of the security key(s) multivector to perform the decryption. Therefore, the cryptotext multivector being decrypted should not have all equal value coefficients. One means to ensure that the cryptotext multivector being decrypted does not have all equal value coefficients is to have the packing/coefficient distribution method ensure that not all coefficients are equal to each other (i.e., at least one coefficient should be different than the other coefficients) when creating the shared security multivector(s) and the data message multivectors. For an embodiment of the EDGE that simply transfers the data message, ensuring that that not all coefficients are equal to each other when creating the shared security multivector(s) and the data message multivectors will ensure that the cryptotext multivector to be decrypted will not have all equivalent coefficients.
[0129] Additionally, separate multivectors may be encoded for many purposes, such as a shared secret (defined below), authentication information, and timestamps. In addition to the encryption and decryption of a message, the EDCE multivector format and Geometric Algebra foundation of an EDCE embodiment may enable a single transmission to contain far more than just cryptotext, including dummy data to increase encryption security, command instructions for additional operations, and/or configuration data for the additional operations.
[0130] The simple distribution method used in the EDCE embodiment examples below is described as follows: Let the input base 10 number string 30792318992869221. We count the number of digits and determine that the number size is 17 digits. We then determine how to distribute these digits to the elements of a multivector. Considering a multivector of 2D, which has 4 elements, we apply the following equation:
[0131] Where ep is each portion length.
[0132] Now we have the original base 10 number and its size (17), the multivector structure (2D, 8 elements) and the length of each element (5). Now we need to slice the base 10 number in order to distribute each part as a coefficient of the new multivector.
[0133] Computationally, the procedure is as follows:
TABLE-US-00004 Base 10 number 30792318992869221 Number size 17 Number of 4 multivector elements Each portion length 5 First element 30792 Second element 31899 Third element 28692 Fourth element 21
[0134] This creates the following multivector:
30792+31899e.sub.1+28692e.sub.2+21e.sub.12
A First Alternative Number to Multivector Distribution Method:
[0135] To increase entropy, the conversion from number to multivector may include an intermediate step of shuffling the digits of the base 10 number representation.
[0136] As before, let the base 10 number =30792318992869221, Even though this number has an odd number of digits (17), it can be split into two sequences as follows:
[0137] The sequence may be shuffled to n as:
[0138] Now, n is 99286922130792318, which is the new number to be distributed to the elements of the multivector The number of hits of n=57.
[0139] The following bitwise operations require a minimum magnitude (>2.sup.number of bits in n) of the numbers involved in order to correctly generate and recover data. To comply with such a requirement, we need to find an exponent b related to the number of bits n that has to be a power two. Since the number of bits of n is equal to 57, we make b equal to the next power of two number, which turns to be 64. Hence we use 2.sup.b=2.sup.64 as the arithmetic parameter for the binary operations.
[0140] Compute n:
n=(n+2.sup.b+s.sub.1)+2.sup.b+s.sub.2
n=(99286922130792318+2.sup.64+992869221)+2.sup.64+30792318
n=33785588866960916932803988894906868159702738740312398462
[0141] Converting n to multivector would give the following 2D multivector representation:
[0142] To recover the original number from the above multivector, the procedure is as follows:
[0143] Since the current multivector is 2D, we will recover the sequences in 2 steps. The number of steps is equal to the number of sequences. For recovering the sequences, we will apply the equations bellow, making use of the binary operators AND and >>(right shift).
n=multivector_to_number (
n=3378558886696091693203988894906868159702738740312398462
[0144] Step 1;
s.sub.1=n AND (2.sup.641)=30792318
[0145] Step 2:
s.sub.2=(n>>64) AND (2.sup.641)=992869221
[0146] Now, concatenate the sequences to recover the original n=30792318992869221.
A Second Alternative Number to Multivector Distribution Method:
[0147] Another relationship for packing the coefficients of the multivector is to ensure that the coefficients of the multivector representation of the plaintext numeric message follow a mathematical data organization between the value of the plaintext numeric message and at least one of the values of the coefficients of the multivector representation of the plaintext numeric message where the mathematical operations incorporating the one or more values of the multivector coefficients have a result equal to the original plaintext numeric message value. The mathematical relationship may include: addition of at least one coefficient of the multivector coefficients, subtraction of at least one coefficient of the multivector coefficients, addition of a constant value, subtraction of a constant value, multiplication of at least one coefficient of the multivector coefficients by a constant value, and division of at least one coefficient of the multivector coefficients by a constant value. The location of the various mathematical operations relative to the particular locations of the coefficients in the multivector representation should also be consistently applied to all source numeric data messages converted to a multivector as well as for result multivectors converted to a result numeric data value in a particular encryption/decryption pathway, For example, for a mathematical relationship that includes both addition and subtraction operations, and for a three dimensional multivector which has eight possible coefficients in the multivector representation (e.g., c.sub.1, c.sub.2, c.sub.3, c.sub.12, c.sub.13, c.sub.23, and c.sub.123, numbered so as to correspond with the unit vector associated with each coefficient), if the coefficients for the e.sub.2 and e.sub.12 unit vectors (i.e., c.sub.2 and c.sub.12) are subtracted in the calculation of the mathematical relationship for a source numeric data message conversion to a multivector, the destination numeric message should also treat the c.sub.2 and c.sub.12 coefficients as being subtracted when doing a multivector to number conversion with the same mathematical relationship. In fact, obtaining a numeric value from the coefficients of a numeric data message multivector packed using a mathematical relationship is relatively simple and straight forward. To obtain the numeric data message value, simply perform the mathematical relationship equation for the numeric data message multivector using the values of the multivector coefficients plugged into the mathematical relationship equation, Other than the location of additions and subtractions within the mathematical relationship of the coefficients, the actual values of the coefficients may be selected as desired by a user so long as the mathematical relationship equals the original numeric value being encrypted, One skilled in the art will recognize that there are many, perhaps even an infinite, number of ways to select coefficient values that meet the stated criteria/restrictions and that each of those ways will create a satisfactory EDCE embodiment so long as the stated criteria/restrictions are, in fact, met.
Handling Special Cases:
[0148] Regardless of the method of distribution, the leading digit in any coefficient must be non-zero. For example, let the number to be converted to multivector be 30792318990869221. Applying the distribution method shown above would result in:
30792+31899e.sub.1+08692e.sub.2+21e.sub.12
[0149] Note the third element=08692e.sub.2. The computer will treat this number as 8692. When converting back from multivector to number, instead of 30,792,318,990,869,221 we would have 3,079,231,899,869,221, which is not the same number (commas added only for comparability).
[0150] To avoid this outcome, it is necessary to include verification in the algorithm that the first number of a coefficient is non-zero. If it is zero, this number should be placed as the last number in the coefficient of the previous element of the multivector. So, the correct result of the conversion of the number 30792318990869221 to a 2D multivector is:
30792+318990e.sub.1+8692e.sub.2+21e.sub.12
5) Multivector to Number
[0151] The distribution method used in the EDCE embodiment examples below is described as follows:
[0152] For the distribution (i.e., packing) method disclosed above for parsing the string representation of a base 10 number to obtain the coefficient values, converting a multivector to a base 10 number is simply the reverse process of concatenating the coefficients of the multivector in order to form a base 10 number.
[0153] As an example: [0154] The multivector: 30792+31899e.sub.1+28692e.sub.2+21e.sub.12 becomes: 30792318992869221.
[0155] Note that in the core EDCE protocol of some of the example embodiments herein, only base 10 number strings are transmitted, not multivectors, but sending only base 10 number strings is not a requirement for an embodiment. In some embodiments, the number may be sent using a numeric variable representation such as an integer or floating point data type. Further, while not typical of most encryption systems, instead of sending a single cryptotext number (C), an embodiment may also simply skip the step of converting the multivector (
B. Shared Secret
[0156] A Shared Secret is a fundamental element in cryptography. A Shared Secret enables secure communication between two or more parties. For the various embodiments the Shared Secret is a number string of digits that may be packed into a multivector in the manner shown above. The Shared Secret Multivector may be used to operate on other multivectors, such as creating the geometric product of the Shared Secret Multivector and the message multivector.
[0157] A variety of methods are already in practice to establish the Shared Secret between sources and destinations. As disclosed herein, the conversion of a Shared Secret number to a Shared Secret Multivector is completely novel. Communication end-point devices may be pre-conditioned with a unique identifier (number string) known only to the system administrators. In a public/private key environment such as RSA, the Shared Secret may be encrypted by the source using only the destination's public key. The method used in the examples below is the Diffie-Hellman key exchange protocol. This is a convenient, widely adopted method to establish a number string Shared Secret. However, any method that securely produces a shared number string is suitable for use with the various embodiments.
[0158] The Diffie-Hellman protocol uses the multiplicative group of integers modulo p (see, for example, https://en.wikipedia.org/wiki/Multiplicative_group_of_integers_modulo.sub.n), where p is prime (see, for example, https://en.wikipedia.org/wiki/Prime_number), and g is a primitive root modulo p (see, for example,
https://en.wikipedia.org/wiki/Primitive_root_modulo_n and
https://en.wikipedia.org/wiki/Modular_arithmetic). These two values are chosen in this way to ensure that the resulting shared secret can take on any value from I to A simple example of Diffie-Hellman follows: [0159] Alice and Bob first agree on using the same root modulo p and base g. [0160] Alice chooses a secret integer a (Alice's password) and creates her signature S.sub.A.sup.0 as
S.sub.A.sup.0=g.sup.amodp [0161] and sends it to Bob. (Note: the superscript 0 is a placeholder for later use, if any) [0162] Similarly, Bob chooses a secret integer b (Bob's password) and creates his signature S.sub.B.sup.0 as
S.sub.B.sup.0=g.sup.bmodp [0163] and sends it to Alice. [0164] Alice and Bob are able to compute the shared secret key S.sub.S as follows: [0165] Alice computes S.sub.S=(S.sub.B.sup.0).sup.amod p [0166] Bob computes S.sub.S=(S.sub.A.sup.0).sup.bmod p [0167] The keys computed by Alice and Bob are the same. This is the Shared Secret.
[0168] Note that DiffieHellman protocol is not limited to negotiating a key shared by only two participants. Any number of users can take part in the agreement by performing iterations of the protocol and exchanging intermediate data.
Numeric Example
[0169] Assume the following:
TABLE-US-00005 Selected and shared prime number p 821309937410771225846473211469 Selected and shared base number g 773039877053085816220792898603 Alice's secret a 325952971969365237094889914154 Bob's secret 289473367541568799631931700475
[0170] To compute S.sub.A.sup.0, Alice's public signature and S.sub.B.sup.0, Bob's public signature:
S.sub.A.sup.0=g.sup.amodp
S.sub.B.sup.0=g.sup.bmodp
S.sub.A.sup.0=49009686585026240237091226039
S.sub.B.sup.0=28663920458684997936652161962
[0171] To compute the shared secret, both Alice and Bob will perform the following equation, which will generate the same value for both, thus the shared secret is reference as S.sub.S:
S.sub.S=S.sub.B.sup.0.sup.
S.sub.S=S.sub.A.sup.0.sup.
S.sub.S=374101092446920532886590141005
[0172] The shared secret number string above may be distributed as before to create a Shared Secret Multivector:
[0173] In a similar manner the S.sub.A.sup.0 and S.sub.B.sup.0 number string for Alice and Bob can be distributed in a multivector format to create
C. Cryptotext Creation
[0174] The cryptotext is created using the EDGE primitive which is the geometric product of the Message multivector and one or more other multivectors. In the most basic form, the cryptotext multivector may be the geometric product of the Message multivector and the Shared Secret Multivector.
[0175] The procedure is defined as follows, Let the plaintext message be this is a test. By applying the text to number conversion, we will get the plaintext message as the number:
2361031878030638688519054699098996
[0176] By applying the number to multivector conversion using a 2D multivector structure the plaintext multivector is:
[0177] Using the Shared Secret multivector that was determined above:
[0178] The cryptotext multivector can be defined as the geometric product:
[0179] Using methods for calculating the geometric product of
[0180] In order to be transmitted, as a payload,
c.sub.10=5649796324893205335999076139905242395250959838376115938268771181474
[0181] To increase the entropy of the Cryptotext Multivector, the Geometric Product of the Message Multivector may be taken with more than one other multivector or by using the same multivector twice to form a sandwich or by the addition of left and right multivector operations on the same Shared Secret Multivector. Two examples of these types are
[0182] Note that there are several alternative methods to construct the Cryptotext Multivector. One alternative is to encrypt the plaintext message using a conventional symmetric cipher such as AES, converting the number string output of that cipher to multivector format and use this multivector in calculating the geometric product with
D. Decryption
[0183] Since Bob has the same shared secret of the source, he can open the cryptotext by performing a geometric product of the cryptotext multivector and the inverse of the shared secret multivector. When Bob receives C.sub.10, he will apply the appropriate number to multivector conversion to get:
[0184] To recover the plaintext multivector
[0185] The method to determine
[0186] Thus,
[0187] The multivector
M.sub.10=2361031878030638688519054699098996
[0188] Finally, this number is converted to text using the number to text procedure described above, resulting in:
M.sub.plain text=this is a test
E. EDCE Flow Chart (FIGS. 5-6)
[0189]
[0190] Setup (502): The sequence is initiated by establishing the signature and shared secret multivectors. Here the Diffie-Hellman procedure 508 is shown but other asymmetric key ciphers such as RSA may be used to generate a number string known only to the source 504 and the destination 506. Alternatively, end-point devices may be pre-conditioned with a secret (number string) known to the system administrator from which the session multivectors may be constructed. The Diffie-Hillman procedure 508 sets up/creates the shared secret keys 510 and then the setup 502 creates multivectors of the Diffie-Hillman keys 510 in the multivector setup 512.
[0191] Source (504): The Message Multivector 516 is constructed at the create message operation 514 by concatenating the message ASCII code string to a number string and then distributing that number to the coefficients of the message multivector at 514. The method of distributing to coefficients uses a prescribed algorithm known and used by both the source 504 and the destination 506.
[0192] The Message Multivector 516 is then encrypted 518 by computing the geometric product of the message and Shared Secret multivectors.
[0193] Destination (506): C (532) is received through a user-defined operation 530 and converted back to the Cryptotext Multivector 536 using the prescribed distribution method 534. The destination 506 computes the multivector inverse of the Shared Secret Multivector and uses this result in the decrypt equations 538 such as
[0194]
[0195] Setup (602): The sequence is initiated by establishing the signature and shared secret multivectors, here the Diffie-Hellman procedure 608 is shown but other asymmetric key ciphers such as RSA may be used to generate a number string known only to the source 604 and the destination 606. Alternatively, end-point devices may be pre-conditioned with a secret (number string) known to the system administrator from which the session multivectors may be constructed. The Diffie-Hillman procedure 608 sets up/creates the shared secret keys 610 and then the setup 602 creates multivectors 612 of the Diffie-Hillman keys in the multivector setup 612.
[0196] Source (604): The Message Multivector 616 is constructed at the create message operation 614 by concatenating the message ASCII code string to a number string and then distributing that number to the coefficients of the message multivector at 614, The method of distributing to coefficients uses a prescribed algorithm known and used by both the source 604 and the destination 606.
[0197] The Message Multivector 616 is then encrypted 618 by computing the geometric product of the message and Shared Secret multivectors.
[0198] Destination (606): C (632) is received through a user-defined operation 630 and converted back to the Cryptotext Multivector 636 using the prescribed distribution method 634. this result in the decrypt equations 638 such as
F. Symmetric Key Pair Encryption/Decryption from 0-Blade Reduction Operation (
[0199] In order to increase security to the Geometric Algebra encryption primitives, a pair of symmetric shared secret keys may be used instead of a single shared secret key. The following lists the processes that may be used to generate/extract/obtain the second shared secret multivector (
[0204]
Geometric Algebra Encryption Primitives
[0205] Primitive 1Sandwich/Triple Product
[0206] Encryption
[0207] The first encryption primitive can be created through a sequence of geometric products using the pair of keys generated via the 0-Blade Reduction Operation (described herein, above) as follows:
[0208] Decryption
[0209] The decryption process uses the previously defined inverse multivector as follows:
[0210] Primitive 2 Multivector based Sylvester's Equation
[0211] Encryption
[0212] The well-known Sylvester's equation is employed here to generate a second encryption primitive which also uses the pair of symmetric encryption keys generated via the 0-Blade Reduction Operation (described herein, above) as follows:
[0213] Decryption
[0214] The decryption operation involves the closed-form solution of the Sylvester's equation for 3-dimensional multivector space as follows:
[0215] Note that a solution for higher dimensions requires a different formula. Further note that if the original shared secret (S.sub.S) is generated using an encrypted/secure key exchange, such as, but not limited to the Diffie-Hellman process discussed in more detail herein, there is no transmission of the original shared secret multivector (
Numerical Examples for Encryption and Decryption With Doubled Shared-Secret in 3 Dimensions
[0216] Let the message multivector
and the original secret multivector
[0217] From the original secret multivector
scalar=(
scalar=2281454761
[0218] Then create the second secret multivector
Geometric Product Sandwich or Geometric Triple Product
[0219] In order to encrypt the multivector
and recover the message multivector
Multivector Based Sylvester's Equation
[0220] Another way to encrypt the message multivector
and recover the message multivector
G. An Unbreakable Primitive Using Geometric Algebra and Arithmetic Functions Example with Secret Sharing and 3D Multivectors
[0221] Set Up
[0222] A multivector may act as a Geometric Algebra object such that components of multi-dimensions and Clifford k-vectors are present. An example is:
which shows the components:
a.sub.0scalarknown as 0-blade or 0-vector
a.sub.1.sub.1+a.sub.2.sub.2+a.sub.3.sub.33D vector or 1-blade or vector
a.sub.12.sub.12+a.sub.23.sub.23+a.sub.31.sub.312-blade or bi-vector
a.sub.123.sub.1233-blade or tri-vector
[0223] A typical, but not the only, arithmetic function used for secret sharing is the Diffie-Hellman function, which is based on cyclic groups with element g; for example:
S.sub.S=g.sup.abmodp
where S.sub.S is a shared secret which can be used by both the source and destination sides and where the operation g.sup.ab mod p yields S.sub.S. This is standard in the cyber security field.
Unbreakable Primitive
[0224] Given a message M, distribute the numerical content of M over a multivector
M=m.sub.1, m.sub.2, m.sub.3 . . . m.sub.n
such that m.sub.i is a number that constitutes a placed integer value for a coefficient, Then:
[0225] Note that other multivector variations are also possible.
[0226] The shared secret S.sub.S is changed to a multivector in the same or a similar manner, such as:
S.sub.S=s.sub.11, s.sub.12, s.sub.13 . . . s.sub.1n
[0227] An operation known as 0-Blade Reduction creates a new scalar from
S.sub.S.sub.
[0228] Then S.sub.S.sub.
[0229] Finally, the multivector-based Sylvester's equation may be used to create a cipher. Thus, the cryptotext multivector C is:
because S.sub.S.sub.
[0230] Up to this point the encryption may have susceptibility to a pair of known cryptotext attacks, However, as shown in part below, the final unbreakability has been achieved.
Encryption Primitives With Unbreakable Cipher:
[0231] Primitive 1Sandwich/Triple Product
[0232] Encryption
[0233] The first encryption primitive may be created through a sequence of geometric products using the pair of keys generated via the 0-Blade Reduction Operation (described above) as follows:
[0234] In order to add another layer of security to the cipher text
C=CXOR S.sub.S
to obtain the final cipher/crypto text C, which is sent to a destination computing device.
[0238] Decryption
[0239] The decryption process may comprise the following steps: [0240] Receive the cryptotext C at the destination computing device. [0241] Recover the pre-cipher cryptotext C from the cryptotext C using the shared secret S.sub.S, as follows:
C=C XOR S.sub.S [0242] Convert C into a multivector yielding the cryptotext multivector
Primitive 2Multivector-Based Sylvester's Equation
[0244] Encryption
[0245] The multivector based Sylvester's equation may be employed here to generate a second encryption primitive which also uses the pair of symmetric shared secret keys generated via the 0-Blade Reduction Operation (described above), as follows:
[0246] As was done above for the encryption primitive with sandwich/triple product, it may be beneficial to add another layer of security by using the same process as described above for XOR masking.
[0247] The cipher multivector
[0248] Decryption
[0249] The decryption operation involves the closed-form solution of the multivector based Sylvester's equation for 3-dimensional multivector space and the XOR unmask previously described for the sandwich/triple product above. The summarized processes are given below: [0250] Receive the cryptotext C as a number. [0251] Recover the pre-cipher cryptotext C from cryptotext C using the shared secret S.sub.S:
C=C XOR S.sub.S [0252] Distribute C into the coefficients of a cryptotext multivector
[0254] Note that a solution for higher dimensions requires a different formula. Further note that if the original shared secret (S.sub.S) is generated using an encrypted/secure key exchange, such as, but not limited to the Diffie-Hellman process discussed in more detail herein, there is no transmission of the original shared secret multivector (
APPENDIX A: GEOMETRIC ALGEBRA OVERVIEW
[0255] Geometric Algebra combines the work of Hamilton (Quartenion) and Grassman (Non-Commutative Algebra) into a field that generalizes the product of two vectors, including the 3-dimensionally restricted Cross Product to an n-dimensional subspace of the vector space (V) over number fields (,
,
,
, etc.) such that the subspace is a product space that allows two vectors to have a geometric product as:
Where and
[0256] For a simple pair of two dimensional vectors:
=a.sub.1.sub.1+a.sub.2.sub.2
where the set {.sub.1, .sub.2} are unit basis vectors and {a.sub.i}, {b.sub.i}, i=1,2 are scalars, the geometric product follows the rules of Geometric Algebra, as described below:
.sub.i.sub.i=0
.sub.i.sub.j=.sub.j
.sub.i
.sub.i.sub.j=.sub.ij (compact notation)
.sub.i.Math..sub.i=1
.sub.i.Math..sub.j=0
[0257] Thus, by performing the geometric product of and
[0258] Resulting in:
.sub.2
[0259] The product .sub.2 which in compact notation is written as .sub.12 and represents an area created by .sub.1
.sub.2 clockwise rotation or .sub.2
.sub.1 in anti-clockwise. The orientation is given by the sign of the term in front of the .sub.1
.sub.2 component.
[0260] As an example, let
=2.sub.1+4.sub.2
[0261] Using the rules of Geometric Algebra described above we can compute the geometric product between and
[0262] Another way of computing the geometric product between multivectors combines the rules of the dot and the wedge products shown above, where we define the following rules when expanding a general geometric product:
.sub.i.sub.i=1
.sub.i.sub.j=.sub.j.sub.i
.sub.i.sub.j=.sub.ij (compact notation)
[0263] This method is used for computer coding in order to speed up the computation of the geometric product. Using the same multivectors of the previous example and these rules, the geometric product between and
Definition of Multivectors and Blades
[0264] Another way of describing the objects (or elements) that form a multivector is to use the definition of blade, or a k-blade. In this convention at k=0, we have a scalar, at k=1 a vector, k=2 a bivector, and so on,
[0265] A multivector is then formed by:
C
.sub.0+
C
.sub.1+
C
.sub.2+ . . . +
C
.sub.2
where n is the dimension of the multivector.
[0266] As was shown in the previous example, the Geometric Product of two 1-blade multivectors yields a 0-blade plus 2-blade multivector as a result:
[0267] Note that if one wishes to multiply a scalar t by a multivector
tC
.sub.0+t
C
.sub.1+t
C
.sub.2+ . . . t
C
.sub.n
[0268] For the particular example above one would have:
t
[0269] The dimensionality of a vector or k-blades in general is not restricted or a function of k. For example, we could easily demonstrate the example above with 3-D, 4-D or n-D vectors, such as =a.sub.1.sub.1+a.sub.2.sub.2+a.sub.3.sub.3+ . . . +a.sub.n.sub.n, which would yield hypercubes as elements of the blades created from the wedge product part of the resulting multivectors.
Multivector Operations
[0270] Embodiments may rely in part upon the unique characteristics of Geometric Algebra multivector operations. Key among these operations is:
Where .sup.1 is the inverse of . There are several important multivector operations that are applied to determine k-blade multivector inversions: [0271] (1) Space inversion, written as *, changes in the orientation of the basis vector as .sub.k.fwdarw..sub.k yielding the following general blade representation:
A.sub.0
A
.sub.1+
A
.sub.2+ . . . +(1).sup.n
A
.sub.n [0272] (2) Reverse, written as .sup., reverses the order of all products such that .sub.1.sub.2 . . . .sub.n-1.sub.n.fwdarw..sub.n.sub.n-1 . . . .sub.2.sub.1. Note that the order of a scalar or a vector cannot be reversed because it is impossible to reverse the order of one or no things. From the rules of Geometric Algebra above we have .sub.i.sub.j=.sub.j.sub.i, for example. A general blade representation is written as:
A
.sub.0+
A
.sub.1
A
.sub.2+ . . . +(1).sup.n/2
A
.sub.n [0273] (3) Clifford conjugation, written as , combines the space inversion and the reverse. The general blade representation that defines the Clifford conjugation is written as
A
.sub.0
A
.sub.1
A
.sub.2+ . . . +(1).sup.n+(n/2)
A
.sub.n
[0274] The norm of a multivector is defined as
.sub.0.sup.1/2
where the operator
.sub.0 pick only the elements of the 0-blade of the resulting vector of the geometric product between and its reverse. It is also the result of the dot product between and its reverse, As an example, define the 2 dimension multivector
[0275] The reverse of is:
[0276] The norm of is computed from:
[0277] Thus,
.sup.
.sub.0.sup.1/2={square root over (a.sub.0.sup.2+a.sub.1.sup.2+a.sub.2.sup.2+a.sub.12.sup.2)}
[0278] The amplitude of a 2-blade or 3-blade multivector is computed as:
|=(
[0279] As an example consider a 2-blade multivector:
=2+5.sub.1+3.sub.2+8.sub.12
[0280] The Clifford conjugation of is defined as:
[0281] The amplitude of can be found by first computing the geometric product
[0282] Hence,
||=(
[0283] Multivector inversion is defined as:
[0284] This gives:
[0285] As an example consider again the multivector =2+5.sub.1+3.sub.2+8.sub.12 has its inverse computed as:
[0286] Hence,
which being equal to 1, clearly shows that the inverse is thus proven.
[0287] For the special case where the multivector reduces to the sub-algebra of 1-blade, the inverse can be also computed using the reverse through the following relationship:
[0288] For example, consider the multivector:
=5.sub.1+3.sub.2+8.sub.3
[0289] The reverse in this case is:
.sup.=5.sub.1+3.sub.2+8.sub.3
which is identical to the original multivector, If we compute the inverse, we have
[0290] Because:
.sup.=25.sub.1.sub.1+15.sub.1.sub.2+40.sub.1.sub.3+15.sub.2.sub.1+9.sub.2.sub.2+24.sub.2.sub.3+40.sub.3.sub.1+24.sub.3.sub.2+64 .sub.3.sub.3
.sup.=25+15.sub.1240.sub.3115.sub.12+9+24.sub.23+40.sub.3124.sub.23+64
.sup.=99
[0291] thus if we compute .sup.1 we obtain:
[0292] For application purposes we wish to have a single formula to compute the inverse and we choose the first option, which uses the Clifford conjugation operation. However, when computing the inverse of a given multivector that is reduced to the even sub-algebra it is possible to obtain a complex-like number from the geometric product between . A common operation in complex number theory is the process of rationalizing the denominator for a complex number in the form
by multiplying top and bottom by the complex conjugate xiy which produces a single real valued denominator
This process can be duplicated for a multivector where now the reverse operation () will play the role of the complex conjugate. This allows us to rewrite the inverse equation for a multivector as follows:
[0293] As an example of the use of this general formula let:
=2+3.sub.1+4.sub.2+6.sub.3+7.sub.12+8.sub.23+9.sub.31+10.sub.123
[0294] Its Clifford conjugation is given by:
[0295] Using the properties of geometric product described earlier we compute
[0296] Using the original inverse formula defined by the Clifford conjugation we would have
[0297] This result is clearly a complex-like number, since (.sub.123).sup.2=i.sup.2=({square root over (1)}).sup.2=1. We rationalize the denominator by performing a geometric product on top and bottom with its reverse (
[0298] The use of multivector inverses is important to the various embodiments. The algorithms in Geometric. Algebra used to compute inverses vary according to the space dimension n of the multivector. This overview of Geometric Algebra is not intended to be exhaustive, only sufficient for the discussion of the embodiment features and the examples herein presented. For a more exhaustive reference see [REFERENCE1].
The use of Sylvester's Equation in Sign, Seal, Delivered Messaging
[0299] In the method of signing and sealing cryptotext we make use of a well-known matrix equation in the field of mathematics called the Sylvester's equation [REFERENCE2], which is given by
C=AX+XB
[0300] By knowing the matrices A, B, and C it is possible to calculate a unique solution for the matrix X. For our purposes, we use the analogous definition of the Sylvester's equation for multivectors as shown in [REFERENCE1]
which is obtained when defining a linear function over multivectors in the form of:
[0301] Here the elements of the Sylvester's equation are defined as: [0302]
[0306] A solution analogous to the results using quartenions or matrices in [REFERENCE2] is given in [REFERENCE1] as:
and is used by the destination to unpack the cryptotext prior to the decryption process.
[0307] [REFERENCE1] Functions of Multivector Variables, PLOS ONE| DOI:10.1371/journal.pone.0116943 Mar. 16, 2015, James M. Chappell, Azhar Iqbal, Lachlan J. Gunn, Derek Abbott, School of Electrical and Electronic Engineering, University of Adelaide, Adelaide, South Australia, Australia}
[0308] [REFERENCE2]Janovska. D, Opfer G (2008) Linear equations in quaternionic variables. Mat Math Ges Hamburg 27:223-234.
[0309] The foregoing description of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and other modifications and variations may be possible in light of the above teachings. The embodiment was chosen and described in order to best explain the principles of the invention and its practical application to thereby enable others skilled in the art to best utilize the invention in various embodiments and various modifications as are suited to the particular use contemplated. It is intended that the appended statements of the invention he construed to include other alternative embodiments of the invention except insofar as limited by the prior art.