ENCRYPTION DEVICE, KEY GENERATION METHOD, AND STORAGE MEDIUM OF KEY GENERATION PROGRAM

An encryption device that encrypts communications with a key includes a key acquisition unit that acquires a key from a key distribution, a key redundancy unit that makes the key from the key distribution redundant, and an encryption/decryption unit that encrypts communication with the redundant key.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
TECHNICAL FIELD

The present disclosure relates to an encryption device, a key generation method, and a key generation program.

BACKGROUND ART

With the progress of next-generation computers such as quantum computers, it is feared that the encryption codes currently used in communication will be deciphered in the near future.

Therefore, to ensure the security of communications, quantum cryptography attracts attention, which can detect eavesdropping by taking advantage of the properties of quantum physics, in which the state of a data item changes when it is observed, and post-quantum cryptography, which uses mathematical problems that are difficult even for a quantum computer to solve. Highly secure communications can be established by sharing a bit string key generated by these encryption methods as an encryption key between a pair of encryption and decryption devices.

In addition, several useful protocols have been considered for encryption methods, such as quantum cryptography and post-quantum cryptography, and the development of various key distribution methods is expected in the future. In NPL 1 and 2, standardization is underway on methods for establishing communications that utilize quantum key distribution (QKD) cryptography and post-quantum cryptography-based key distribution (PQKD).

Note that a key distribution is a mechanism for distributing a key generated by a predetermined encryption method. For example, the mechanism is composed of a pair of key distribution devices, and an optical fiber between the devices. The key distribution may be implemented in hardware or in a software program.

CITATION LIST Non Patent Literature

[NPL 1] “Revised baseline text for TR. hyb-qkd: ‘Technical Report on 'Overview of hybrid approaches for key exchange with QKD’ (for agreement)”, ITU-T SG 17-TD301, May 10-20, 2022

[NPL 2] “SERIES X: DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY, Quantum communication-Security design for QKDN, Key combination and confidential key supply for quantum key distribution networks”, ITU-T X.1714, October 2020

SUMMARY OF INVENTION Technical Problem

However, when the key cannot be properly acquired from the key distribution, the communication cannot be encrypted, and therefore there is a problem that the communication cannot be continued. For example, this occurs when a failure occurs on the key distribution route, when the key distribution process becomes overloaded, or when the response from the key distribution becomes slower than the communication.

The present disclosure has been made in consideration of the above circumstances, and an object of the present disclosure is to provide a technology that can achieve secure communication even when a key cannot be properly acquired from a key distribution.

Solution to Problem

An encryption device according to an aspect of the present disclosure is an encryption device that encrypts communication with a key, the encryption device including: a key acquisition unit that acquires a key from a key distribution; a key redundancy unit that makes the key from the key distribution redundant; and an encryption unit that encrypts communication with the redundant key.

A key generation method according to another aspect of the present disclosure is a key generation method performed by an encryption device, the key generation method including: a step of synthesizing a plurality of keys; a step of changing a key synthesis ratio based on the synthesis when a key having a key length required for the synthesis cannot be acquired; and a step of synthesizing keys using the acquired key having the key length based on the changed key synthesis ratio.

A key generation method according to still another aspect of the present disclosure is a key generation method performed by an encryption device, the key generation method including: a step of acquiring a plurality of keys from the key storage unit when keys are in a key storage unit; a step of synthesizing the plurality of keys; a step of changing a key synthesis ratio based on the synthesis when a key having a key length required for the synthesis cannot be acquired; a step of synthesizing keys using the acquired key having the key length based on the changed key synthesis ratio; and a step of storing remaining keys that are not used in synthesizing the keys in the key storage unit.

A key generation program according to yet another aspect of the present disclosure causes a computer to execute the above-described key generation method.

Advantageous Effects of Invention

According to the present disclosure, it is possible to provide a technology that can achieve secure communication even when a key cannot be properly acquired from a key distribution.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a diagram illustrating a configuration of an encrypted communication system according to a first embodiment.

FIG. 2 is a diagram illustrating an example of a method for synthesizing and dividing a key.

FIG. 3 is a diagram illustrating an example of a score calculation method.

FIG. 4 is a diagram illustrating an example of a method for synthesizing and dividing a key.

FIG. 5 is a diagram illustrating a process flow of a key generation method according to the first embodiment.

FIG. 6 is a diagram illustrating a configuration of an encrypted communication system according to a second embodiment.

FIG. 7 is a diagram illustrating an example of a table in a key storage unit.

FIG. 8 is a diagram illustrating a process flow of a key generation method according to the second embodiment.

FIG. 9 is a diagram illustrating a hardware configuration of an encryption device.

DESCRIPTION OF EMBODIMENTS

Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. In the drawings, the same portions are denoted by the same reference signs, and the description thereof will be omitted.

Overview of Present Disclosure

A mechanism is required that can provide a key to a cryptographic device (more specifically, an encryption/decryption unit that constitutes the cryptographic device) even when a key cannot be properly acquired from a key distribution. Therefore, the present disclosure makes it possible to continuously provide keys even when a key cannot be acquired by making a plurality of key distributions redundant, for example, by changing a key synthesis ratio to generate a key using another key even when one of the keys cannot be acquired, and by storing keys so that keys can be provided for a certain period of time even when a key cannot be acquired.

FIRST EMBODIMENT Configuration of Encrypted Communication System

FIG. 1 is a diagram illustrating a configuration of an encrypted communication system according to a first embodiment. The encrypted communication system includes a pair of encryption devices 1 (1a and 1b). Each of the pair of encryption devices 1 is a key generation device that acquires and synthesizes a key from one or more key distributions 2, and is also an encryption/decryption device that encrypts or decrypts a communication 3 with the synthesized key.

The key distribution 2 is not limited to a classical key distribution using conventional encryption methods, and also includes a next-generation key distribution using next-generation encryption methods. Examples of the next-generation key distribution include, a quantum key distribution (QKD), which distributes keys generated by quantum cryptography, and a post-quantum key distribution (PQKD), which distributes keys generated by post-quantum cryptography. The keys distributed via QKD, PQKD, or the like are keys close to completely random numbers and are generated, for example, by a true random number generator (for example, a quantum random number generator or a hardware random number generator).

The communication 3 is, for example, a communication different from that of the key distribution 2. The communication 3 may be wired or wireless.

Functions of Encryption Device

As illustrated in FIG. 1, each of the pair of encryption devices 1 includes a key acquisition unit 11 that acquires a key from a key distribution 2, a key redundancy unit 12 that makes the key from the key distribution 2 redundant, and an encryption/decryption unit (encryption unit) 13 that encrypts or decrypts communication 3 with the key acquired from the key distribution 2 or the key made redundant by the key redundancy unit 12.

The key acquisition unit 11 has a function of acquiring one or more keys from a plurality of key distributions 2. For example, the key acquisition unit 11 acquires a classical key from a classical key distribution, acquires a key generated by quantum cryptography from a quantum key distribution (QKD), and acquires a key generated by post-quantum cryptography from a post-quantum key distribution (PQKD).

As illustrated in FIG. 1, the key redundancy unit 12 includes a key synthesis unit 121 that synthesizes acquired keys, a score calculation unit 122 that calculates a score of the synthesized key, an error detection unit 123 that detects an error when a key cannot be acquired, and a key ratio change unit 124 that changes a key synthesis ratio when an error is detected.

The key synthesis unit 121 has a function of dividing each key distributed via the plurality of key distributions 2, and generating a plurality of encryption key candidates by optionally combining a plurality of divided key pieces and synthesizing (adjusting) them to a desired key length. However, when the key length of the key distributed via the key distribution 2 is less than the desired key length, the key synthesis unit 121 does not divide the key, but treats it as a key piece to be synthesized.

In addition, the key synthesis unit 121 has a function of determining an encryption key from among a plurality of encryption key candidates based on the score of each encryption key candidate, and determining (specifying) one or more key pieces that constitute the encryption key and the key lengths of the key pieces. The key synthesis unit 121 also has a function of acquiring key pieces of the determined key length from the key distribution 2, and synthesizing the acquired key pieces to generate an encryption key for encryption and decryption.

For example, the key synthesis unit 121 synthesizes a key piece of a quantum cryptography key acquired from a quantum key distribution (QKD) and a key piece of a post-quantum cryptography key acquired from a post-quantum key distribution (PQKD). The key synthesis unit 121 may synthesize a key piece of a quantum cryptography key acquired from one quantum key distribution (QKD) with a key piece of a quantum cryptography key acquired from another quantum key distribution (QKD). The key synthesis unit 121 may synthesize a key piece of a key acquired from the quantum key distribution (QKD) and/or the post-quantum key distribution (PQKD) with a key piece of a classical key acquired from the classical key distribution. The key synthesis unit 121 is capable of synthesizing two or more key pieces or keys.

In addition, in a case where the key synthesis ratio is changed, the key synthesis unit 121 has a function of acquiring key pieces of the changed key length from the key distribution 2 based on the changed key synthesis ratio, and synthesizing the acquired key pieces to generate an encryption key for encryption and decryption.

The score calculation unit 122 has a function of calculating a score for each encryption key candidate generated by the key synthesis unit 121 using a score related to security for each key distribution given to each of the plurality of key distributions 2. The score for each key distribution can also be called the score for each encryption method or for each next-generation key.

The error detection unit 123 has a function of detecting (outputting) an error when a key cannot be acquired from the key distribution 2; when an error is detected from the key distribution 2; or when eavesdropping of the key is detected. A key cannot be acquired when a failure occurs in the key distribution route; when the key distribution process becomes overloaded; when a key distribution or keys have run out and a key cannot be provided; or when a desired whole key or key pieces cannot be acquired from the key distribution. This is not limited to cases where the key cannot be acquired but includes cases where the key is unavailable.

The key ratio change unit 124 has a function of changing the key synthesis ratio when an error is detected. Examples of methods for changing the key synthesis ratio include, for example, a method for changing the key synthesis ratio fixedly and a method for changing the key synthesis ratio dynamically.

The encryption/decryption unit 13 has a function of encrypting or decrypting a desired communication 3 with the encryption key for encryption and decryption generated by the key synthesis unit 121, and when a key cannot be acquired from the key distribution 2, with the encryption key after the key synthesis ratio has been changed. For example, the encryption/decryption unit 13 of one encryption device la encrypts the communication 3 with the encryption key, and the encryption/decryption unit 13 of the other encryption device 1b decrypts the communication 3 with the same encryption key.

The encryption/decryption unit 13 can also generate a new key for encrypting another communication using the key acquired from a key distribution, the encryption key for encryption and decryption generated by the key synthesis unit 121, or the encryption key after the key synthesis ratio has been changed, and encrypt the other communication with the new encryption key. The types of encryption used to generate the new encryption key include, for example, IPsec, MACsec, and L1 encryption. The encryption algorithm is advanced encryption standard (AES).

Key Synthesis Method

First, the key synthesis unit 121 receives key data for each key distribution 2 input by a user, and holds a plurality of pieces of received key data. For example, the key synthesis unit 121 holds key data of quantum cryptography distributed via a quantum key distribution (QKD), and holds key data of post-quantum cryptography distributed via a post-quantum key distribution (PQKD).

Next, the key synthesis unit 121 extracts a key Ki from a set K of key data held therein, and determines whether or not a bit length Li of the key Ki is less than a bit length Lc of an encryption key Ko set by the user. The subscript i of the key Ki is any one of QKD #1, QKD #2, . . . , QKD #N, PQKD #1, PQKD #2, . . . , PQKD #M. The same applies to the subscript j (≠i) of a key Kj, which will be described below.

When the bit length Li of the extracted key Ki is less than the bit length Lc of the encryption key Kc, the key synthesis unit 121 extracts another key Kj from the set K. Then, as illustrated in FIG. 2 (a), the key synthesis unit 121 divides the bit length of the key Kj into a bit length “Lc−Li” and a bit length “Lj-(Lc−Li)”, and synthesizes the key Ki of the bit length Li with the key Kj of the bit length “Lc−Li”. The encryption key Kc with the bit length Lc after synthesis becomes an encryption key candidate. A segment K′ of a bit length Lj−(Lc−Li) that was not used in the key synthesis is added to the set K for use in subsequent key synthesis.

When the bit length Li of the extracted key Ki is equal to or greater than the bit length Lc of the encryption key Kc, the key synthesis unit 121 divides the bit length of the key Ki into the bit length Lc and the bit length “Li−Lc”, as illustrated in FIG. 2(b). The encryption key Kc with the bit length Lc after division becomes an encryption key candidate. The remaining segment K′ of the bit length Li−Lc is added to the set K for use in subsequent key synthesis.

Thereafter, the key synthesis unit 121 performs similar key synthesis on the remaining keys Kk, Ki, . . . included in the set K. Accordingly, a plurality of encryption key candidates are generated.

Scoring Method for Encryption Key Candidates Scoring Method 1 for Encryption Key Candidates

In general, the security of communication using a key is evaluated as 2L for the bit length L of the key, in a case where the key generation algorithm is ideal. However, in reality, the security level differs for each key distribution due to defects in the key distribution devices constituting the key distribution, defects in the key generation algorithm, the influence of the usage environment, or the like.

Therefore, in the present disclosure, a parameter called a score p corresponding to the security of each key distribution is given to each key distribution 2, and a weighted average score pc of the encryption key candidate is calculated using the scores pi, pj, . . . associated with each key distribution i, j, . . . used when generating the encryption key candidate, and an encryption key is selected from among the plurality of encryption key candidates so that the weighted average score pc is high.

Specifically, the weighted average score pc of the encryption key Kc (encryption key candidate) illustrated in FIG. 2(a) is (piLi+pj (Lc−Li) ) /Lc (see FIG. 3(a)). The weighted average score pc of the encryption key Kc (encryption key candidate) illustrated in FIG. 2(b) is pi (see FIG. 3(b) ). The key synthesis unit 121 calculates a weighted average score pc for all the encryption keys Kc (encryption key candidates), and selects the encryption key candidate having the highest weighted average score pc as the encryption key Kc.

The score p is calculated based on, for example, the security of the key distribution and encryption method, the time elapsed since the key was generated, and the number of times the key has been divided. The score p is set in the encryption device 1 for each key distribution 2, for example. The score p may be set in a configuration file for each user, or may be set from a network management server.

Scoring Method 2 for Encryption Key Candidates

There may be two or more key distributions 2 with the same score p. In this case, when the bit lengths Li, Lj, . . . of the two or more key distributions i, j, . . . are equal to each other, and are also equal to the bit length Lc of the encryption key Kc, no key division or key piece synthesis is performed, so that the scores pc of the encryption keys Ko (encryption key candidates) corresponding to each key distribution i, j, . . . are equal to each other regardless of the synthesis ratio of the key pieces.

Therefore, from the viewpoint of risk dispersion, it is avoided to use all the keys acquired from one key distribution 2 as the encryption key Ko, and the encryption key Kc is generated so that all the key distributions 2 with the same score contribute. For example, for two key distributions i and j with the same score, when the ratio of key pieces included in the encryption key Kc is 1:1, the encryption key Kc is generated by synthesizing the ½ bit length “Li/2” of the key Ki of the key distribution i with the ½ bit length “Lj/2” of the key Kj of the key distribution j (see FIG. 4). In this case, the weighted average score pc of the encryption key Kc (encryption key candidate) is (pi (Li/2) +p; (Lj/2)) /Lc. The ratio of the key pieces is designated by the user.

Method for Changing Key Synthesis Ratio

To summarize, the key synthesis unit 121 uses the key from the key distribution 2 having a higher score preferentially in synthesis according to the above-mentioned “Scoring Method 1 for Encryption Key Candidates”, and synthesizes keys according to the key synthesis ratio (ratio of key pieces) in a case where the scores from the key distribution 2 are the same according to the above-mentioned “Scoring Method 2 for Encryption Key Candidates”.

Here, a method for changing the key synthesis ratio when the scores are the same will be described. As a method for changing the key synthesis ratio, a fixed change method or a variable change method can be considered. Examples of the fixed change method may include a method for adjusting a ratio of key pieces according to a key rate of the key distribution 2 (a key size that can be acquired per second), and a method for adjusting a ratio of key pieces according to a key acquisition interval of the key distribution 2.

Examples of the variable change method may include a method for exchanging a random number generation function with the opposing encryption device 1 and changing a ratio of the key pieces based on the algorithm of the random number generation function. This can reduce the risk of eavesdropping because an eavesdropper cannot decipher the data unless he/she knows the key ratio.

Encryption Key Generation Method

FIG. 5 is a diagram illustrating a process flow of an encryption key generation method according to the first embodiment.

Step S101

First, the key synthesis unit 121 extracts keys Ki, Kj, . . . from a set K of key data, and generates a plurality of encryption key candidates based on the above-mentioned “Key Synthesis Method”. Then, the key synthesis unit 121 calculates a weighted average score pc of each encryption key candidate based on the above-mentioned “Scoring Method for Encryption Key Candidates”, and selects (determines) the encryption key candidate having the highest weighted average score pc as the encryption key Kc.

Step S102

Next, the key synthesis unit 121 determines (specifies) the key pieces constituting the selected encryption key K. and the key lengths of the key pieces. For example, when the selected encryption key Kc is composed of two keys Ki and Kj, the key synthesis unit 121 determines the bit length of the key piece of the key Ki and the bit length of the key piece of the key Kj, respectively. Here, the ratio of the bit length of the key piece of the key Ki to the bit length of the key piece of the key Kj is “1:1”.

Step S103

Next, the key synthesis unit 121 requests a full-length key including a key piece of the determined bit length from the key distribution 2 which distributes the key having the determined key piece. For example, if the key distribution 2 of the key Ki is a quantum key distribution (QKD), the key synthesis unit 121 requests a full-length key including a key piece of the determined bit length from the quantum key distribution (QKD). If the key distribution 2 of the key Kj is a post-quantum key distribution (PQKD), the key synthesis unit 121 requests a full-length key including a key piece of the determined bit length from the post-quantum key distribution (PQKD).

Step S104

Next, the key synthesis unit 121 determines whether or not all requested full-length keys have been acquired from the key distribution 2. When all full-length keys have been acquired, the key synthesis unit 121 proceeds the process to step S110.

When all full-length keys have not been acquired, the key synthesis unit 121 proceeds the process to step S105.

Steps S105 to S109

When all full-length keys have not been acquired in step S104, the encryption device 1 executes steps S105 to S109.

First, the error detection unit 123 detects an error indicating that all full-length keys have not been acquired (step S105). Next, the key synthesis unit 121 determines whether or not the full length of the key has been acquired from at least one key distribution 2 (step S106).

When the full length of the key has been acquired from at least one key distribution 2, the key ratio change unit 124 changes the key synthesis ratio based on the acquired key (step S107). Thereafter, the key synthesis unit 121 acquires the bit length for each key according to the changed key synthesis ratio (step S108). Then, the process proceed to step S10.

For example, when the full length can be acquired for the key Ki, but only a portion of the key piece of the determined bit length can be acquired for the key Kj, and the scores from the key distributions of the key Ki and the key Kj are the same, the key ratio change unit 124 changes the ratio of the bit length of the key piece of the key Ki to the bit length of the key piece of the key Kj from “1:1” to “2:1.” The method for changing the key is as described above in “Method for Changing Key Synthesis Ratio.”

When the full length of the key has not been acquired from the key distribution 2, the key synthesis unit 121 outputs an error (step S109). Then, the process ends.

Steps S110 to S112

In a case where all full-length keys have been acquired in step S104, or after step S108, the encryption device 1 executes steps S111 to S112.

First, the key synthesis unit 121 acquires (cuts out) a key piece having a bit length corresponding to the current key synthesis ratio from the key, and synthesizes the key piece (step S110). Thus, an encryption key K. for encryption and decryption is generated. Next, the key synthesis unit 121 adjusts the encryption key Kc to the final required key length by applying a hash function thereto (step S111). Thereafter, the encryption/decryption unit 13 encrypts the communication 3 with the encryption key Kc whose key length has been adjusted (step S112).

In a case where the encryption key K-does not include a key piece of a classical key, it may not be applied with a hash function. This is because the keys generated by next-generation encryption methods are in themselves close to completely random numbers, so that, by synthesizing keys from these next-generation encryption methods, it is possible to generate a key that is more secure and has a longer bit length.

The key information required to generate the encryption key Kc is synchronized between the pair of encryption devices 1a and 1b via classical communication. The required key information is information about a key that has to be shared between the encryption devices 1a and 1b in order to generate the same encryption key Kc. For example, the information includes a key distribution ID of an acquisition destination, the rules for synthesizing and dividing the key, the bit length of each key piece included in the encryption key Kc, the key synthesis ratio (ratio of key pieces), and the ID of the shared encryption key.

When an encryption key Kc is generated in one encryption device 1a, key information required to generate the encryption key Kc is transmitted to the other encryption device 1b and synchronized. The other encryption device 1b generates an encryption key Kc identical to the encryption key Kc based on the information, and decrypts the communication 3 with the encryption key Kc. Encryption and decryption of communications refer to, for example, encrypting original data flowing in communications and decrypting the encrypted data back to the original data.

Effects

As described above, according to the first embodiment, the encryption device 1 that encrypts communications with a key includes a key acquisition unit 11 that acquires a key from a key distribution, a key redundancy unit 12 that makes the key from the key distribution redundant, and an encryption/decryption unit 13 that encrypts communication with the redundant key, and therefore can provide a technology that can achieve secure communication even when the key cannot be properly acquired from the key distribution.

Second Embodiment

In the first embodiment, in preparation for the case where it is difficult to acquire a key from the key distribution, the key from the key distribution 2 is made redundant, for example, the key is generated by changing the key synthesis ratio. In a second embodiment, the keys are stored in advance to ensure that the keys are generated. In other words, by providing a key storage unit, the frequency of key requests inquiring about a key distribution can be reduced, the burden on a key distribution can be reduced, and keys can be provided reliably.

Configuration of Encrypted Communication System

FIG. 6 is a diagram illustrating a configuration of an encrypted communication system according to a second embodiment. In the pair of encryption devices 1 (1a and 1b) according to the second embodiment, compared to the encryption device 1 according to the first embodiment, the key redundancy unit 12 further includes a key storage unit 125 that stores a key, and a key storage amount monitoring unit 126 that monitors the amount of keys stored.

The key storage unit 125 has a function of storing keys acquired from a plurality of key distributions 2 and remaining key pieces (divided key pieces) which have not been used in synthesis. The key storage unit 125 may acquire a key having a key length that is longer than the key length used for encryption. An example of a table in the key storage unit 125 is illustrated in FIG. 7. In this table, for example, the key number, the key distribution ID, the key length, and the elapsed time after the key was acquired are stored. The key number may be a number assigned during a key distribution, or may be assigned by the encryption device. In addition, the number of times the key is used (the number of times it can be synthesized) can also be stored. Since security decreases when a key is synthesized, the number of times a key can be synthesized may be limited. In this case, the key synthesis unit 121 does not include a key whose synthesis count has reached the upper limit as a target for key synthesis. In addition, the key synthesis unit 121 may use a predetermined key derivation function to generate a new random number key from the key acquired from the key distribution 2 (including the synthesized key and the key after the key synthesis ratio has been changed), and store the new random number key in the key storage unit 125.

The key storage amount monitoring unit 126 has a function of monitoring the amount of keys stored in the key storage unit 125.

Encryption Key Generation Method

FIG. 8 is a diagram illustrating a process flow of an encryption key generation method according to the second embodiment.

Steps S201 and S202

The steps are the same as steps S101 and S102.

Step S203

The key synthesis unit 121 determines whether or not a full-length key including a key piece having the bit length determined in step S202 is stored in the key storage unit 125. When the desired key is stored in the key storage unit 125, the process proceeds to step S205. When the desired key is not stored in the key storage unit 125, the process proceeds to step S204.

Step S204

When the desired key is stored in the key storage unit 125, the key synthesis unit 121 acquires, from the key storage unit 125, a full-length key including a key piece having the bit length determined in step S202.

Step S205

When the desired key is not stored in the key storage unit 125, the key synthesis unit 121 requests a full-length key including a key piece of the determined bit length from the key distribution 2 which distributes the key having the key piece determined in step S202.

Step S206

Next, the key synthesis unit 121 determines whether or not all requested full-length keys have been acquired from the key distribution 2. When all full-length keys have been acquired, the key synthesis unit 121 proceeds the process to step S212.

When all full-length keys have not been acquired, the key synthesis unit 121 proceeds the process to step S207.

Steps S207 to S210

The steps are the same as steps S105 to S109.

Steps S212 to S215

When all full-length keys have been acquired in step S206, or after step S210, the encryption device 1 executes steps S212 and S213.

First, the key synthesis unit 121 acquires (cuts out) a key piece having a bit length corresponding to the current key synthesis ratio from the key, and synthesizes the key piece (step S212). Thu, an encryption key Kc for encryption and decryption is generated. Next, the remaining key pieces (divided key pieces) that are not used as the encryption key Kc are stored in the key storage unit 125 (step S213). Next, the key synthesis unit 121 adjusts the encryption key Kc to the final required key length by applying a hash function thereto (step S214). Thereafter, the encryption/decryption unit 13 encrypts the communication 3 with the encryption key Kc whose key length has been adjusted (step S215).

Effects

As described above, according to the second embodiment, the encryption device 1 that encrypts communication with a key includes a key storage unit 125 that stores keys and remaining keys that are not used in synthesizing the keys, and therefore can provide a technology that can achieve secure communication even when a key cannot be properly acquired from a key distribution.

Other Embodiments

It is also possible to combine the first and second embodiments.

Others

The present disclosure is not limited to the embodiment described above. The present disclosure can be modified in a number of ways within the scope of the gist of the present disclosure.

The encryption device 1 of the present embodiment described above can be realized by using a general-purpose computer system including a CPU 901, a memory 902, a storage 903, a communication device 904, an input device 905, and an output device 906, for example, as illustrated in FIG. 9. The memory 902 and the storage 903 are storage devices. In the computer system, each function of the encryption device 1 is implemented by the CPU 901 executing a predetermined program loaded onto the memory 902.

The encryption device 1 may be implemented as one computer.

The encryption device 1 may be implemented as a plurality of computers. The encryption device 1 may be a virtual machine implemented in a computer.

A program for the encryption device 1 can be stored in a computer-readable recording medium such as an HDD, an SSD, a USB memory, a CD, and a DVD. Examples of the computer-readable recording medium include a non-transitory recording medium. A program for the encryption device 1 can also be distributed via a communication network.

REFERENCE SIGNS LIST

    • 1, 1a, 1b Encryption device
    • 2 Key distribution
    • 3 Communication
    • 11 Key acquisition unit
    • 12 Key redundancy unit
    • 13 Encryption/decryption unit
    • 121 Key synthesis unit
    • 122 Score calculation unit
    • 123 Error detection unit
    • 124 Key ratio change unit
    • 125 Key storage unit
    • 126 Key storage amount monitoring unit
    • 901 CPU
    • 902 Memory
    • 903 Storage
    • 904 Communication device
    • 905 Input device
    • 906 Output device

Claims

1. An encryption device that encrypts communication with a key, the encryption device comprising:

a key acquisition unit, including one or more processors, configured to acquire a key from a key distribution;
a key redundancy unit, including one or more processors, configured to make the key from the key distribution redundant; and
an encryption unit, including one or more processors, configured to encrypt communication with the redundant key.

2. The encryption device according to claim 1,

Wherein:
the key redundancy unit includes
a key synthesis unit that synthesizes a plurality of keys acquired from the key distribution, and
a key ratio change unit that changes a key synthesis ratio based on the synthesis when a key having a key length required for the synthesis cannot be acquired; and
the key synthesis unit synthesizes keys using the acquired key having the key length based on the changed key synthesis ratio.

3. The encryption device according to claim 1, wherein the key redundancy unit further includes a key storage unit that stores remaining keys that are not used in synthesizing keys.

4. The encryption device according to claim 1, wherein the key redundancy unit further includes a key storage unit that stores a random number key generated from the key acquired from the key distribution by using a predetermined key derivation function.

5. The encryption device according to claim 1, wherein the key redundancy unit further includes a key storage unit that stores remaining keys that are not used in synthesizing keys or a key storage unit that stores a random number key generated from the key acquired from the key distribution by using a predetermined key derivation function, wherein the key redundancy unit further includes a key storage amount monitoring unit that monitors an amount of keys stored in the key storage unit.

6. A key generation method performed by an encryption device, the key generation method comprising:

synthesizing a plurality of keys;
changing a key synthesis ratio based on the synthesis when a key having a key length required for the synthesis cannot be acquired; and
synthesizing keys using the acquired key having the key length on the basis of the changed key synthesis ratio.

7. A key generation method performed by an encryption device, the key generation method comprising:

a step of acquiring a plurality of keys from the key storage unit when keys are in a key storage unit;
synthesizing the plurality of keys;
changing a key synthesis ratio based on the synthesis when a key having a key length required for the synthesis cannot be acquired;
synthesizing keys using the acquired key having the key length based on the changed key synthesis ratio; and
storing remaining keys that are not used in synthesizing the keys in the key storage unit.

8. A non-transitory computer-readable storage medium storing a key generation program causing a computer to execute the key generation method according to claim 6.

9. A non-transitory computer-readable storage medium storing a key generation program causing a computer to execute the key generation method according to claim 7.

Patent History
Publication number: 20260379640
Type: Application
Filed: Dec 15, 2022
Publication Date: Nov 26, 2026
Applicant: NTT, Inc. (Tokyo)
Inventors: Atsushi TANIGUCHI (Musashino-shi, Tokyo), Yasuyuki SANARI (Musashino-shi, Tokyo), Momoko MIURA (Musashino-shi, Tokyo)
Application Number: 19/135,803
Classifications
International Classification: H04L 9/08 (20060101);