# US 2020/0007320 A1 · Key Encryption Methods, Apparatuses, and Systems

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0007320 A1
- Document ID: US20200007320A1
- Status: Published application
- Kind: A1
- Application number: 16/570,392
- Filed: 2019-09-13
- Published: 2020-01-02
- Earliest claimed: 2017-03-15
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Suhang XU
- Web page: https://patentgrep.com/patent/US20200007320A1

## CPC

- H04L 9/0822: {using key encryption key}
- H04L 9/00: {Cryptographic mechanisms or cryptographic} arrangements for secret or secure communications; Network security protocols
- H04L 9/002: {Countermeasures against attacks on cryptographic mechanisms (network architectures or network communication protocols for protection against malicious traffic H04L63/1441)}
- H04L 9/08: Key distribution {or management, e.g. generation, sharing or updating, of cryptographic keys or passwords (network architectures or network communication protocols for supporting key management in a packet data network H04L63/06)}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 63/062: {for key distribution, e.g. centrally by trusted party (cryptographic mechanisms or cryptographic arrangements for key distribution involving a central third party H04L9/0819)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Key encryption methods, apparatuses and systems are disclosed in the embodiments of the present disclosure. A client does not store an encryption algorithm used for encrypting a key, but only stores an information header encrypted by the encryption algorithm, so that an attacker cannot directly obtain the encryption algorithm that is used for decrypting the information header even if the client is attacked, thus improving the security of the key in the client. When the key is needed to be used to encrypt obtained data, the client can use the stored first information header to request the key from the server, and the server having a higher security restores the key based on a stored first encryption algorithm. The client can encrypt the data using the key obtained from the server, so that the client can ensure the security of the obtained data without storing the encryption algorithm.

## Claims

### Claim 1

A method implemented by one or more processors of a client, the method comprising:
sending a first information header used for requesting to obtain a key to a server, wherein the key is restored by the server from the first information header according a first encryption algorithm; and
receiving a second information header and the key from the server, and the second information header is obtained by the server after encrypting the key based on a second encryption algorithm.

### Claim 2 (depends on 1)

The method of claim 1, wherein: before sending the first information header used for requesting to obtain the key to the server, the method further comprising:
determining whether an information header is stored locally.

### Claim 3 (depends on 2)

The method of claim 2, wherein: if an information header is not stored locally, the method further comprises:
sending a key acquisition request to the server;
obtaining the first information header and the key from the server; and
storing the first information header locally.

### Claim 4 (depends on 2)

The method of claim 2, wherein: if an information header is stored locally, the method further comprises:
using the stored information header as the first information header, and performing the sending of the first information header used for requesting to obtain the key to the server.

### Claim 5 (depends on 1)

The method of claim 1, wherein: after receiving the second information header and the key from the server, the method further comprises:
storing the second information header locally and deleting the first information header locally.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first encryption algorithm is different from the second encryption algorithm.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
storing the key in a memory.

### Claim 8

An apparatus comprising:
one or more processors;
memory;
a sending unit stored in the memory and executable by the one or more processors to send a first information header used for requesting to obtain a key to a server, wherein the key is restored by the server from the first information header according to a first encryption algorithm; and
a receiving unit stored in the memory and executable by the one or more processors to receive a second information header and the key from the server, and the second information header is obtained by the server after encrypting the key based on a second encryption algorithm.

### Claim 9 (depends on 8)

The apparatus of claim 8, further comprising: a determining unit stored in the memory and executable by the one or more processors to determine whether an information header is stored locally.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the determining unit is further configured to send a key acquisition request to the server if not stored locally, obtain the first information header and the key from the server, and store the first information header locally.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein the determining unit is further configured to: use the stored information header as the first information header if stored locally, and trigger the sending unit.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the receiving unit is further configured to store the second information header locally and delete the first information header locally.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein the first encryption algorithm is different from the second encryption algorithm.

### Claim 14 (depends on 8)

The apparatus of claim 8, wherein the receiving unit is further configured to store the key in a memory.

### Claim 15

One or more computer readable media storing executable instructions that, when executed by one or more processors of a server, cause the one or more processors to perform acts comprising:
obtaining a first information header used for requesting to obtain a key from a client;
restoring the key from the first information header based on a first encryption algorithm;
encrypting the key based on a second encryption algorithm to obtain a second information header; and
sending the second information header and the key to the client.

### Claim 16 (depends on 15)

The one or more computer readable media of claim 15, wherein the first information header further comprises an identifier of the first encryption algorithm, and before the server restoring the key from the first information header based on the first encryption algorithm, the acts further comprise searching for the first encryption algorithm according to the identifier of the first encryption algorithm.

### Claim 17 (depends on 15)

The one or more computer readable media of claim 15, wherein: before the server obtaining the first information header used for requesting to obtain the key from the client, the acts further comprise:
obtaining a key acquisition request sent by the client;
using a randomly generated key string as the key;
encrypting the key using the first encryption algorithm to obtain the first information header; and
sending the first information header and the key to the client.

### Claim 18 (depends on 15)

The one or more computer readable media of claim 15, wherein the first encryption algorithm is different from the second encryption algorithm.

### Claim 19 (depends on 15)

The one or more computer readable media of claim 15, wherein the second encryption algorithm is an updated version of the first encryption algorithm, or a type different from the first encryption algorithm.

### Claim 20 (depends on 15)

The one or more computer readable media of claim 15, the acts further comprising using the second encryption algorithm that is different from the first encryption algorithm when the first encryption algorithm is susceptible to a leakage, or after a set period of time.
