System and method for creating symmetric keys using elliptic curve cryptography - Patents.com
The elliptic curve cryptography-based system generates symmetric keys independently on client devices, addressing limitations of existing systems by enhancing security and efficiency through direct key generation and eliminating trust requirements and certificate authorities.
Patent Information
- Application Number
- JP2024516387
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-15
- Filing Date
- 2022-09-14
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Current cryptographic systems using symmetric keys are limited by the size of key coefficients, which restrict the amount of data that can be encrypted, and require a trust relationship for key sharing, while asymmetric key systems involve certificate authorities and revocation lists, complicating security and efficiency.
A system using elliptic curve cryptography generates symmetric keys independently on client devices, eliminating the need for certificate authorities and revocation lists, allowing secure key sharing without a trust relationship, and enabling larger key sizes for enhanced security.
This approach enables secure, efficient, and scalable data encryption and decryption without the need for trust establishment, using symmetric keys generated from elliptic curve multiplication, reducing vulnerability to interception and simplifying key management.
Smart Images

Figure 2024534375000001
Abstract
Description
[Technical field]
[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims priority to U.S. Provisional Patent Application No. 63 / 244,605, filed September 15, 2021.
[0002] (STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT) No Federal funding was used in the research or development of this invention.
[0003] (Parties with joint research agreements) Not applicable.
[0004] (Incorporated by reference to sequence listing) Not applicable.
[0005] This disclosure relates to the use of private and public keys for commercial activities, and more particularly, to the formation of symmetric keys using elliptic curve methodologies. [Background technology]
[0006] Cloud computing and storage allows users to store and process their data in third-party data centers. Data communication between users and service providers requires that providers ensure that all sensitive data (e.g., credit card numbers) is masked or encrypted and that only authorized users can access the data in its entirety. Furthermore, digital identity and authentication information must be protected as well as any data that providers collect or generate about customer activities in the cloud.
[0007] Cloud data services are subject to many security threats, including traditional and non-traditional threats. Traditional threats include network eavesdropping, illegal intrusion, and denial of service attacks. Threats specific to cloud computing also include side channel attacks, vulnerabilities in virtualization technology, and unauthorized use of cloud services. To mitigate these threats, security controls often rely on monitoring three areas: confidentiality, integrity, and access controllability. This disclosure relates to access control.
[0008] Access controllability means that the data owner can selectively restrict access to data outsourced to the cloud. Legitimate users can be granted access to the data by the owner, but others cannot access the data without authorization. Access control can also be called availability. Unauthorized access must be strictly prohibited, while partial access for administrative or consumer use must be allowed but monitored. Availability and access control ensure that the right level of authorization is granted to the right people.
[0009] The use of virtual security keys to give private users virtual access to cloud-based or data stored by or on behalf of a service provider is known in the commercial market. These keys can be used to exchange information in a secure manner. Users often wish to be able to exchange data securely without the possibility that a third party can intercept and recover the data.
[0010] An example of such a situation is an accounting firm that needs to transmit financial information to a client. The firm must first establish a trust relationship with the client and then leverage this trust relationship to transmit the information securely.
[0011] Currently, two types of keys are used to encrypt and decrypt data shared between users and service providers: asymmetric and symmetric keys. While each key is a known type of algorithm, each type is substantially different in that asymmetric keys are embodied as a private and public key pair, while symmetric keys are identical for both encryption and decryption. Private keys must be kept secret in all cases. Private keys are typically not shared between senders and recipients of encrypted sensitive information. Currently, shared symmetric keys are used to encrypt and decrypt data in a system using public and private keys derived from large prime numbers, such as Public Key Infrastructure (PKI) type keys. Each sender and recipient of encrypted information has an identical copy of the symmetric key, which each party keeps secret and does not share with third parties.
[0012] In these PKI systems, one of the keys is used to encrypt data and the other is used to decrypt it. Traditionally, a public key is shared and used to encrypt data, and a private key is kept secret and used to decrypt data. The problem is that the amount of data that can be encrypted is limited by the size of the modulus of the two keys, where the key modulus is the product of the two prime numbers used to generate the key pair. A public key with a 1024-bit modulus can only encrypt a string that is 16 bytes long. Thus, while PKI systems are used to share symmetric keys, the symmetric keys can be used to encrypt any amount of data. It is therefore clear that the strength of the system corresponds to the length of the symmetric keys that can be shared. It is preferable to have a system that generates larger symmetric keys.
[0013] When using symmetric keys, the key must be the same for both encryption and decryption. Therefore, to use symmetric keys effectively, the shared key must be securely transmitted to another party. Loss of a PKI private key therefore causes many problems, mainly related to the necessary revocation of the public key. To mitigate this problem in web transactions, current protocols require the sharing of symmetric keys between two parties using a public and private key. An example of sharing a symmetric key is the Secure Sockets Layer (SSL).
[0014] The use of shared symmetric keys removes this limitation, but it also requires the establishment of a trust relationship between the two parties in order to share the key. In principle, symmetric keys are shared using a PKI-related system.
[0015] The current virtual key methodology solves two problems. First, there is a need for a system that allows parties to exchange data without the need to set up a trusted relationship. Second, there is a need for a system that generates both public and private keys that are persistent and easily regenerated. The security system disclosed herein provides an enhanced level of security with respect to traditional cryptographic functions and removes many of the barriers associated with traditional security, including the need for certificate authorities and certificate revocation lists. The methodology provides a system that can secure stored operational data in a manner that is only accessible to authorized users and is impervious to traditional forms of attempted compromise. In some cases, the information used by the system is derived from encrypted data stored on the device, rather than from data stored on the device. Summary of the Invention
[0016] In a preferred embodiment, a system for generating a symmetric key used to encrypt data shared by a first client and a second client, the system comprising: a first client device having a memory, a processor, and associated local storage; a second client device having a memory, a processor, and associated storage; and a symmetric key generation algorithm and a symmetric key encryption algorithm located on the first client device memory and the second client device memory, respectively;
[0017] The system is 1. inputting a private key of a first client and a public key of a second client into a symmetric key generation algorithm in each of the first client device memory and the second client device memory to independently generate the same symmetric key on each device; 2. Securely storing the public key of the second client on a remote repository; 3. Encrypting the data using a symmetric key encryption algorithm on the first client device; 4. transmitting the encrypted data from the first client device to the second client device; 5. Decrypting the encrypted data using a symmetric key encryption algorithm on the second client device.
[0018] In another preferred embodiment, the system described herein, wherein the symmetric key is derived from a point on an elliptic curve generated by multiplying the private key of the first client by the public key of the second client.
[0019] In another preferred embodiment, the system described herein, wherein the symmetric key is a 32-byte hash of the concatenated x and y coordinates of the point.
[0020] In another preferred embodiment, the system described herein, wherein step 4 is accomplished using the Internet, an intranet, wired or wireless transfer, or similar known means of electronic data transmission.
[0021] In another preferred embodiment, the system described herein, wherein the second client device is the server.
[0022] In another preferred embodiment, a method of using the system described herein, the system comprising: 1. Obtaining a private key of a first client and a public key of a second client from a local storage of a first client having a first client device; 2. generating a symmetric key from the product of the first client's private key and the second client's public key using a symmetric key generation algorithm stored in the first client device memory, the symmetric key being derived from a point on an elliptic curve generated by multiplying the first client's private key by the second client's public key; 3. Encrypting the data using a symmetric key with a symmetric encryption algorithm stored in the first client device memory; 4. transmitting the encrypted data from the first client device to the second client device via the Internet, an intranet, wired or wireless transmission, or similar known means of electronic data transmission; 5. Obtaining a second client private key and a first client public key from a second client storage having a second client device; 6. Generating a symmetric key on a second client device similar to step 2, where the method of derivation matches that of the first client; 7. Using the symmetric key on the second client device to decrypt the received message from the first client, thereby accessing the encrypted data.
[0023] In another preferred embodiment, the method described herein, wherein the symmetric key is a 32-byte hash of the concatenated x and y coordinates of the point.
[0024] In another preferred embodiment, the method described herein, wherein step 3 is embodied as using the symmetric key to initialize an instance of the AES algorithm thereby encrypting the data.
[0025] In an alternative preferred embodiment, a method of using the system described herein also includes a mobile application stored in a memory of a first client device, the system comprising: 1. Embedding a public key of a second client into an application on a first client device; 2. Calculating a random first client private key and a second public key of an associated elliptic curve using an application on the first client device; 3. Using an application on the first client device, calculating a symmetric key from the embedded second client public key and the calculated random first client private key; 4. Encrypting data using the application with the symmetric key; 5. Sending the calculated public key and the encrypted data to a second client device associated with the second client's public key; 6. Using a copy of the application located on the server, calculating a symmetric key from the private key of the second client and the public key of the first client received; 7. Decrypting the encrypted data using the calculated symmetric key on the second client device.
[0026] In another preferred embodiment, the alternative method described herein, wherein the mobile application includes the public key of the second client embedded therein at the time it is downloaded into the memory of the first client device.
[0027] In another preferred embodiment, an alternative method described herein, wherein step 5 is accomplished using the Internet, an intranet, wired or wireless transfer, or similar known means of electronic data transmission. [Brief description of the drawings]
[0028] [Figure 1]FIG. 1 is a schematic diagram outlining an example of the systems and symmetric key methods disclosed herein. [Diagram 2] FIG. 2 is a graph showing a symmetric key as a 32-byte hash of the concatenated x and y coordinates of a point. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] The present disclosure relates generally to cryptographic key systems that use asymmetric, private and public security keys for commercial activities by replacing asymmetric key systems with symmetric key systems and elliptic curve systems.
[0030] Cryptographic keys may be used to exchange encrypted information in a secure manner. Users often want to exchange data securely without the possibility that a third party can intercept and recover the information. One example is an accounting firm that needs to share encrypted financial information with a client. The firm must first establish a trust relationship with the client and then utilize the established trust relationship to transmit the information securely.
[0031] The system of the present invention includes features that allow multiple entities and people to securely share encrypted information. The present embodiment relates to the formation and use of private keys from which elliptic public keys can be derived. The system designed does not require the use of current public key infrastructure, but rather is designed to provide each of the users and businesses with an identical and symmetric private key. The system is unique and inventive in that it allows two entities to securely share information without having any kind of symmetric key exchange mechanism.
[0032] As is commonly known, computer cryptography uses integers for keys. In some cases, the keys are generated randomly using a random number generator (RNG) or pseudorandom number generator (PRNG). A PRNG is a computer algorithm that generates data that appears random under analysis, but is reproducible given input constraints.
[0033] In public key cryptography, a certification authority or certificate authority (CA) is an entity that stores, signs, and issues digital certificates for asymmetric keys. A digital certificate attests to the ownership of an asymmetric public key by the certificate's named subject. This allows others (relying parties) to rely on signatures or assertions made about the private key that corresponds to the certified public key. CAs act as a trusted third party and are trusted by both the certificate's subject (owner) and the parties relying on the certificate.
[0034] A CA's clients are server administrators who request the certificates that the servers give to users. Commercial CAs charge money to issue certificates, and their customers expect the CA's certificate to be included in most web browsers, so that a perceived secure connection to a certified server works effectively without any additional configuration.
[0035] The use of a certification authority also requires the use of a Certificate Revocation List (CRL), which is used when a digital certificate is revoked by the issuing CA before its actual or assigned expiration date. The Online Certificate Status Protocol (OCSP) has been used to attempt to reduce the waiting time for checking certificate revocation, but may also raise privacy concerns regarding the disclosure of information about a person's browsing habits. If a CA becomes aware that a private key may have been compromised by an entity's failure to comply with policy requirements, by misrepresentation of software operation, or by another violation of CA policy by a user, the associated key may be revoked or placed on temporary hold until the security of the key can be confirmed. Key revocation requires the generation, storage, and sharing of a new private key, which is inconvenient for users.
[0036] Unlike private / public asymmetric key pairs, symmetric keys are generated by an algorithm that creates a single shared key without requiring the use of a CA. Symmetric systems also require substantially lower key lengths than public key algorithms to resist brute force attacks, and are therefore substantially faster to use than asymmetric systems. In the system of the present invention, symmetric keys are generated directly by an algorithm downloaded to the client / user's device, thus eliminating the need for a CA and the inconvenience of CRLs.
[0037] AES (Advanced Encryption Standard) is a standard for encrypting electronic data established by the National Institute of Standards and Technology. The AES encryption algorithm (also known as the Rijndael algorithm) is a symmetric block cipher algorithm with a block / chunk size of 128 bits. The algorithm transforms these individual blocks using keys of 128 bits, 192 bits, and 256 bits. When these blocks are encrypted, they are combined together to form the ciphertext.
[0038] One embodiment of the system of the present invention begins with a first client, using a first client device comprising either a personal mobile device, tablet, or personal computer, wishing to set up a secure transaction with a second client, where the following steps occur: In step 1, the first client obtains the first client's private key (P1) and the second client's public key (K2) from the first client's storage device. In step 2, the first client forms a symmetric key (S) from the product of the private and public keys using a symmetric key generation algorithm (G). Specifically, the symmetric key is derived from a point on an elliptic curve that is generated by multiplying the private key by the public key. A suitable symmetric key is a 32-byte hash of the concatenated x and y coordinates of the point. In step 3, the symmetric key is used by the first client in any symmetric encryption algorithm. As an example, the key can be used to initialize an instance of the AES algorithm, and then this key can be used to encrypt data (d). In step 4, the encrypted data is sent to the recipient by any means available. Using the Internet is one example of transmission. In step 5, the receiver obtains his / her private key and the sender’s public key, and generates a symmetric key from the product of his / her private key and the sender’s public key. The method of derivation must match that of the sender. · In step 6, the recipient uses this symmetric key to decrypt the received message and recover the information that was intended for their sole use.
[0039] The term client is used herein to describe any person or entity using the system of the present invention. A client may be an individual user, a private or public service provider, or other entity that uses the system. In the primary embodiment, the first client is an individual user and the second client is a legal entity with which the first client shares encrypted data.
[0040] One advantage of the disclosed system is that users do not need to negotiate or store shared secret keys or associated fragments of sensitive information in order to securely exchange information, because each client can independently generate identical symmetric keys.
[0041] In an alternative method where the public key of the second client device / server is embedded in the application downloaded to the first client device, the following steps are used. 1. The server's public key is embedded in applications that need to communicate with the server, 2. The client forms a random private key and the associated elliptic curve public key, 3. The client computes a key from the embedded public key and the computed private key, 4. The client encrypts the data using the symmetric key, 5. The client sends the calculated public key and the data to the server, 6. The server can form a key from its private key and the public key it receives, 7. The server decrypts the data using the calculated symmetric key.
[0042] This alternative method provides an additional security benefit by embedding the second client's public key in the application. The embedded public key can be retrieved by the application when it is loaded and then used to generate a symmetric key unique to the server. Embedding the public key in the app eliminates the possibility of "phishing" or "man-in-the-middle" attacks. If the public key is somehow compromised in the app, the app's signature will change and become unusable. This embodiment is functionally the same as the other embodiments described herein, except that the process can be accomplished in one simple step.
[0043] Although the present invention is illustrated by the description of several embodiments and exemplary embodiments are detailed, it is not the intention of the applicant to restrict or in any way limit the scope of the appended claims to these details. Additional advantages and modifications within the scope of the appended claims will readily appear to those skilled in the art. Thus, the present invention in its broader aspects is not limited to the specific details, representative apparatus and methods, and illustrative examples shown and described. Thus, departures may be made from such details without departing from the spirit or scope of the applicant's general concept. The present invention illustratively disclosed herein may suitably be practiced in the absence of any element not specifically disclosed herein.
[0044] Detailed Description of the Drawings Fig. 1 is a schematic diagram showing an overview of an example of the system and method for generating a symmetric key disclosed herein. In Fig. 1, a first client device 10 obtains a first client's private key P1 and a second client's public key P2 from a first client's local storage 11. A symmetric key S is generated using the first client's private key P1 and the second client's public key K2. Then, data d is encrypted and sent to a second client device 12 using the symmetric key S and a symmetric key algorithm T.
[0045] 1 further shows a second client device 12 obtaining the second client's private key P2 and the first client's public key K1 from the second client storage 13. Using the second client's private key P2 and the first client's public key K1, the second client device 12 executes a symmetric key generation algorithm G to create a symmetric key S that is identical to the key generated by the first client device. The second client device 12 then decrypts the data d using the symmetric key encryption algorithm T.
[0046] FIG. 2 is a graph showing a symmetric key as a 32-byte hash of the concatenated x and y coordinates of a point.
[0047] Parts index in Figure 1: 10 First Client Device 11 Local storage of the first client 12 Second Client Device / Server 13 Secondary Client / Server Storage P1 The private key of the first client K1 First client's public key P2 Second client's private key K2 Second client's public key S symmetric key d Data (encrypted) G Symmetric Key Generation Algorithm T Symmetric Key Encryption Algorithm
[0048] The references cited in this specification are incorporated herein in their entirety, particularly as they relate to the teachings of the level of ordinary skill in the art and any disclosure necessary for the general public to understand the subject matter of the invention that is the subject of the claims. It will be clear to those skilled in the art that the above embodiments can be modified or substantially modified without departing from the scope of the invention. Therefore, the scope of the invention is determined by the following claims and their equivalents.
Claims
1. 1. A system for generating a symmetric key used to encrypt data shared by a first client and a second client, the system comprising: a first client device having a memory, a processor, and associated local storage; a second client device having a memory, a processor, and associated storage; a symmetric key generation algorithm and a symmetric key encryption algorithm, each located on a memory of the first client device and a memory of the second client device; The system further comprises:
1. Inputting a private key of a first client and a public key of a second client into the symmetric key generation algorithm in each of a memory of the first client device and a memory of the second client device to generate the same symmetric key independently on each device; 2. Securely storing the second client's public key on a remote repository; 3. Encrypting data using the symmetric key encryption algorithm on the first client device; 4. transmitting the encrypted data from the first client device to the second client device; 5. Decrypting the encrypted data using the symmetric key encryption algorithm on the second client device.
2. 2. The system of claim 1, wherein the symmetric key is derived from a point on an elliptic curve generated by multiplying a private key of the first client by a public key of the second client.
3. 3. The system of claim 2, wherein the symmetric key is a 32-byte hash of the concatenated x and y coordinates of the point.
4. 2. The system of claim 1, wherein step 4 is accomplished using the Internet, an intranet, wired or wireless transfer, or similar known means of electronic data transmission.
5. The system of claim 1 , wherein the second client device is a server.
6. 13. A method of using the system of claim 1, comprising:
1. Obtaining a private key of a first client and a public key of a second client from a local storage of a first client having a first client device; 2. generating a symmetric key from the product of the first client's private key and the second client's public key using a symmetric key generation algorithm stored in a memory of the first client device, the symmetric key being derived from a point on an elliptic curve generated by multiplying the first client's private key by the second client's public key; 3. Encrypting data using the symmetric key with a symmetric encryption algorithm stored in a memory of the first client device; 4. transmitting the encrypted data from the first client device to the second client device via the Internet, an intranet, wired or wireless transmission, or similar known means of electronic data transmission; 5. Obtaining the second client's private key and the first client's public key from a second client storage having the second client device; 6. Generating the symmetric key on the second client device similar to step 2, where the method of derivation matches that of the first client; 7. Using the symmetric key on the second client device to decrypt received messages from the first client, thereby accessing the encrypted data.
7. 7. The method of claim 6, wherein the symmetric key is a 32-byte hash of the concatenated x and y coordinates of the point.
8. 7. The method of claim 6, wherein step 3 is embodied as using the symmetric key to initialize an instance of an AES algorithm thereby encrypting data.
9. A mobile application stored in a memory of the first client device, the system further comprising:
1. Embedding a public key of a second client into the application on the first client device; 2. Calculating a random first client private key and an associated elliptic curve second public key using the application on the first client device; 3. Using the application on the first client device, calculating a symmetric key from the embedded second client public key and the calculated random first client private key; 4. Encrypting data using the application using the symmetric key; 5. Sending the calculated public key and the encrypted data to the second client device associated with the second client's public key; 6. Using a copy of the application located on a server, calculating a symmetric key from the second client's private key and the receiving first client's public key; 7. Decrypting the encrypted data using the calculated symmetric key on the second client device.
10. The method of claim 9 , wherein the mobile application includes the embedded second client public key when the mobile application is downloaded to the memory of the first client device.
11. 10. The method of claim 9, wherein step 5 is accomplished using the Internet, an intranet, wired or wireless transfer, or similar known means of electronic data transmission.
