REGISTRATION REQUEST DEVICE, SEARCH REQUEST DEVICE, DATA MANAGEMENT DEVICE, PRIVACY REQUEST SYSTEM, REGISTRATION REQUEST METHOD, REGISTRATION REQUEST PROGRAM, SEARCH REQUEST METHOD, SEARCH REQUEST PROGRAM, DATA MANAGEMENT METHOD, AND DATA MANAGEMENT PROGRAM

The secure search system addresses inefficiencies in multi-user common key systems by using common key encryption with logical OR operators to specify searchers efficiently, reducing data size and operational costs, and improving processing speed.

JP7573797B1Active Publication Date: 2024-10-25MITSUBISHI ELECTRIC CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024549127
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-12-28
Publication Date
2024-10-25
Estimated Expiration
2042-12-28

AI Technical Summary

Technical Problem

Existing multi-user common key systems face inefficiencies in specifying multiple searchers without a hierarchical structure, leading to increased data size and operational costs, and public key cryptography methods lack compatibility with confidential search and processing speed.

Method used

A secure search system using common key encryption that generates aggregated attribute conditions connected by logical operators OR, allowing efficient specification of searchers and reducing data size while maintaining high search efficiency.

Benefits of technology

The system enables efficient decryption and search operations with reduced data size and operational costs, supporting multi-user common key systems without the need for public key cryptography, and enhances processing speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007573797000001
    Figure 0007573797000001
  • Figure 0007573797000002
    Figure 0007573797000002
  • Figure 0007573797000003
    Figure 0007573797000003
Patent Text Reader

Abstract

The registration request device (500) generates an aggregate attribute condition by adding a higher-level attribute condition including at least one of the multiple attribute conditions indicating attributes for which the ciphertext can be searched to the multiple attribute conditions. The registration request device (500) generates an encrypted tag indicating a search condition in which the attribute conditions included in the generated aggregate attribute condition are connected with the logical operator OR, for realizing a search for the ciphertext. The registration request device (500) associates the encrypted tag with the ciphertext and registers it in the data management device (700).
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a secure search technology using a shared key cryptography. [Background technology]

[0002] The private search is a technique for searching encrypted data while it remains encrypted. In other words, the private search is a technique for searching encrypted data without decrypting it. In recent years, the private search has been attracting attention as a security technology for protecting confidential information from eavesdropping by malicious administrators or malware in cloud services. In other words, the private search has been attracting attention as a security technology for managing data in cloud services.

[0003] As processes in a confidential search, the processes performed by a registrant, a searcher, and a data management device will be described below. A registrant is a user who registers encrypted data. A searcher is a user who searches for encrypted data.

[0004] The basic flow of processing by a registrant is as follows: First, the registrant encrypts data to generate a ciphertext. This ciphertext is used to decrypt and restore the original data. Next, the registrant encrypts a keyword for secretly searching the ciphertext. The encrypted keyword is called an encrypted tag. It is difficult to infer the keyword from the encrypted tag. Next, the registrant associates the encrypted tag with the ciphertext. The number of encrypted tags does not need to be one, and multiple encrypted tags can be associated with the ciphertext. Then, the registrant registers the ciphertext and the encrypted tag in the data management device.

[0005] The basic flow of the searcher's process is as follows. First, the searcher selects a keyword to search. Next, the searcher randomizes the keyword using his / her private key. The randomized keyword is called a search query. It is difficult to infer the private key from the search query. Next, the searcher requests a search from the data management device by sending the search query to the data management device. Then, the searcher receives a ciphertext that matches the search query from the data management device.

[0006] The basic flow of processing by the data management device is as follows. A plurality of pairs of ciphertext and encrypted tag are registered in the data processing device. First, the data management device receives a search query. Next, the data management device performs a special operation on the search query and each registered encrypted tag to select an encrypted tag that matches the search query. That is, in the special operation, a keyword in the search query can be compared with a keyword in each encrypted tag without decrypting the encrypted tag and the search query. This special operation is called a confidential search. Then, the data management device transmits a ciphertext associated with the selected encrypted tag.

[0007] There are two types of private search: shared key and public key. In the common key method, common encryption key technology is used, and registrants and searchers are limited. In the public key system, public key encryption technology is used, and the number of people who can search is limited, but the number of people who can register is not limited.

[0008] In many common key systems, the registrant and the searcher share the same secret key. In Patent Document 1, the registrant and the searcher have different secret keys, and the registrant can specify the searcher who can decrypt and search in the ciphertext and encrypted tag, respectively. This type of common key system is called a multi-user common key system. In other words, the multi-user common key system has an access control function.

[0009] In a typical shared key system, the registrant and the searcher have the same secret key, so the searcher can search and decrypt all ciphertexts and encrypted tags, respectively. On the other hand, in the multi-user common key system, the registrant and the searcher have different private keys, and each searcher has a different private key. Even if a searcher has a private key, he or she cannot decrypt and search unless the searcher's conditions specified in the ciphertext and encrypted tag match. Furthermore, in the multi-user common key system, it is difficult for a malicious attacker to arbitrarily change the searcher specified in the ciphertext and encrypted tag to another searcher. In this way, the multi-user common key system achieves higher security than the ordinary common key system. [Prior art documents] [Patent documents]

[0010] [Patent Document 1] Patent No. 6910477 [Patent Document 2] Patent No. 6384149 Summary of the Invention [Problem to be solved by the invention]

[0011] Patent Document 1 describes a multi-user common key method that can efficiently specify a searcher who can decrypt and search with a hierarchical structure in mind by using a wildcard. For example, in a certain company, when a general employee is specified as a searcher for ciphertext and encrypted tags using this method, it is possible to efficiently specify that the section manager or department manager who is the superior of the general employee can also decrypt and search. However, when multiple searchers without a hierarchical structure are specified in this method, the data size of the encrypted text and encrypted tags becomes large, which increases the cost of search processing, or each searcher has to possess multiple private keys, which increases operational costs. For example, the above cost problem occurs when specifying that general employee A and general employee B in the same department, and their superiors, can decrypt and search.

[0012] Patent Document 2 describes an encryption method in which the data size does not increase even if the searcher's conditions become complicated by using logical operators such as OR. However, this method only allows the user to specify who can decrypt the ciphertext, and does not have the ability to generate encrypted tags for secure searches, making it difficult to make it compatible with secure searches. Furthermore, since this method is based on public key cryptography, even if it overcomes the above challenges, processing speed remains an issue.

[0013] An object of the present disclosure is to realize a multi-user common key system that allows searchers who can decrypt and search to be specified using the logical operator OR, and that provides good search efficiency even when such a specification is made. [Means for solving the problem]

[0014] A registration request device according to the present disclosure includes: an aggregation condition generating unit that generates an aggregate attribute condition by adding a higher-level attribute condition including at least one of a plurality of attribute conditions indicating attributes for which a ciphertext can be searched to the plurality of attribute conditions; an encrypted tag generation unit that generates an encrypted tag indicating a search condition in which attribute conditions included in the aggregate attribute condition generated by the aggregate condition generation unit are connected by a logical operator OR, for realizing a search of the ciphertext; Equipped with. Effect of the Invention

[0015] In the present disclosure, an encrypted tag is generated that indicates a search condition in which a higher-level attribute condition that includes at least one of the multiple attribute conditions is connected with the logical operator OR, in addition to multiple attribute conditions that indicate attributes that can be searched for in a ciphertext. This makes it possible to specify searchers who can decrypt and search using the logical operator OR, and to realize a multi-user common key system that has good search efficiency even when such a specification is made. [Brief description of the drawings]

[0016] [Figure 1] FIG. 1 is a configuration diagram of a confidential search system 100 according to a first embodiment. [Diagram 2] FIG. 2 is a configuration diagram of a master key generation device 200 according to the first embodiment. [Diagram 3] FIG. 2 is a configuration diagram of a registration key generating device 300 according to the first embodiment. [Figure 4] FIG. 2 is a configuration diagram of a user key generation device 400 according to the first embodiment. [Diagram 5] FIG. 2 is a configuration diagram of a registration request device 500 according to the first embodiment. [Figure 6] FIG. 4 is a configuration diagram of a generation unit 520 according to the first embodiment. [Figure 7] FIG. 6 is a configuration diagram of a search request device 600 according to the first embodiment. [Figure 8] FIG. 7 is a configuration diagram of a data management device 700 according to the first embodiment. [Figure 9] 3 is a flowchart of the overall processing of the confidential search system 100 according to the first embodiment. [Figure 10] 4 is a flowchart of a master key generation process according to the first embodiment. [Figure 11] 4 is a flowchart of a registration key generation process according to the first embodiment. [Figure 12] 4 is a flowchart of a user key generation process according to the first embodiment. [Figure 13] FIG. 4 is a diagram showing an example of attribute information according to the first embodiment. [Figure 14] 5 is a flowchart of a registration request process according to the first embodiment. [Figure 15] 4 is a flowchart of a registration operation process according to the first embodiment. [Figure 16] FIG. 7 is an explanatory diagram of information stored in a storage unit 790 according to the first embodiment. [Figure 17] 4 is a flowchart of a search request process according to the first embodiment. [Figure 18] 4 is a flowchart of a search operation process according to the first embodiment. [Figure 19] 4 is a flowchart of a decryption operation process according to the first embodiment. [Figure 20] 5 is a flowchart of a deletion operation process according to the first embodiment. [Figure 21] FIG. 11 is a configuration diagram of a registration request device 500 according to a second embodiment. [Figure 22] FIG. 11 is a configuration diagram of a generating unit 520A according to the second embodiment. [Figure 23] FIG. 6 is a configuration diagram of a search request device 600 according to a second embodiment. [Figure 24] FIG. 11 is a configuration diagram of a data management device 700 according to a second embodiment. [Diagram 25] 11 is a flowchart of the overall processing of the confidential search system 100 according to the second embodiment. [Figure 26] 11 is a flowchart of a registration request process according to the second embodiment. [Figure 27] 13 is a flowchart of a search request process according to the second embodiment. [Figure 28] 13 is a flowchart of a search operation process according to the second embodiment. [Figure 29] 13 is a flowchart of a decryption operation process according to the second embodiment. [Diagram 30] FIG. 13 is a configuration diagram of a master key generation device 200 according to a first modification. [Diagram 31] FIG. 13 is a configuration diagram of a registration key generating device 300 according to a first modified example. [Diagram 32] FIG. 13 is a configuration diagram of a user key generation device 400 according to a first modification. [Diagram 33] FIG. 13 is a configuration diagram of a registration request device 500 according to a first modification. [Diagram 34] FIG. 6 is a configuration diagram of a search request device 600 according to a first modification. [Diagram 35] FIG. 7 is a configuration diagram of a data management device 700 according to a first modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] In the embodiments and drawings, the same elements and corresponding elements are denoted by the same reference numerals. Descriptions of elements denoted by the same reference numerals are omitted or simplified as appropriate. Arrows in the drawings mainly indicate data flow or processing flow.

[0018] Embodiment 1 A mode of performing a secure search using the logical operator OR for a searcher who can decrypt and search ciphertext will be described with reference to Figs. 1 to 20.

[0019] ***Configuration Description*** The configuration of a confidential search system 100 according to the first embodiment will be described with reference to FIG. The confidential search system 100 includes a master key generation device 200, a registration key generation device 300, a user key generation device 400, a registration request device 500, a search request device 600, and a data management device 700. The devices in the confidential search system 100 communicate with each other via a network 101 .

[0020] The configuration of master key generation device 200 according to the first embodiment will be described with reference to FIG. The master key generation device 200 is a computer. The master key generation device 200 includes hardware such as a processor 201, a memory 202, an auxiliary storage device 203, an input / output interface 204, and a communication device 205. These pieces of hardware are connected to each other via signal lines.

[0021] The master key generation device 200 includes components such as a reception unit 210, a generation unit 220, and an output unit 230. These components are realized by software. A master key generation program for causing a computer to function as reception unit 210, generation unit 220, and output unit 230 is stored in auxiliary storage device 203. The master key program is loaded into memory 202 and executed by processor 201.

[0022] Furthermore, an OS is stored in the auxiliary storage device 203. At least a part of the OS is loaded into the memory 202 and executed by the processor 201. The OS is an abbreviation for Operating System. In other words, the processor 201 executes a master key generation program while executing the OS. Data obtained by executing the master key generation program is stored in a storage device such as the memory 202 , the auxiliary storage device 203 , a register in the processor 201 , or a cache memory in the processor 201 .

[0023] The auxiliary storage device 203 functions as the storage unit 290. However, another storage device may function as the storage unit 290 instead of the auxiliary storage device 203 or together with the auxiliary storage device 203.

[0024] The master key generation program can be recorded (stored) in a computer-readable manner on a non-volatile recording medium such as an optical disk or a flash memory.

[0025] The configuration of a registration key generating device 300 according to the first embodiment will be described with reference to FIG. The registration key generation device 300 is a computer. The registration key generation device 300 includes hardware such as a processor 301, a memory 302, an auxiliary storage device 303, an input / output interface 304, and a communication device 305. These pieces of hardware are connected to each other via signal lines.

[0026] The registration key generation device 300 includes components such as a reception unit 310, a generation unit 320, and an output unit 330. These components are realized by software. The auxiliary storage device 303 stores a registration key generation program for causing a computer to function as the reception unit 310, the generation unit 320, and the output unit 330. The registration key generation program is loaded into the memory 302 and executed by the processor 301.

[0027] Furthermore, an OS is stored in the auxiliary storage device 303. At least a part of the OS is loaded into the memory 302 and executed by the processor 301. That is, the processor 301 executes a registration key generation program while executing the OS. Data obtained by executing the registration key generation program is stored in a storage device such as the memory 302, the auxiliary storage device 303, a register in the processor 301, or a cache memory in the processor 301.

[0028] The auxiliary storage device 303 functions as the storage unit 390. However, another storage device may function as the storage unit 390 instead of the auxiliary storage device 303 or together with the auxiliary storage device 303.

[0029] The registration key program can be recorded (stored) in a computer-readable manner on a non-volatile recording medium such as an optical disk or a flash memory.

[0030] The configuration of a user key generation device 400 according to the first embodiment will be described with reference to FIG. The user key generation device 400 is a computer. The user key generation device 400 includes hardware such as a processor 401, a memory 402, an auxiliary storage device 403, an input / output interface 404, and a communication device 405. These hardware components are connected to each other via signal lines.

[0031] The user key generation device 400 includes elements such as a reception unit 410, a generation unit 420, and an output unit 430. These elements are realized by software. The auxiliary storage device 403 stores a user key generation program for causing a computer to function as the reception unit 410, the generation unit 420, and the output unit 430. The user key generation program is loaded into the memory 402 and executed by the processor 401.

[0032] Furthermore, an OS is stored in the auxiliary storage device 403. At least a part of the OS is loaded into the memory 402 and executed by the processor 401. That is, the processor 401 executes a user key generation program while executing the OS. Data obtained by executing the user key generation program is stored in a storage device such as the memory 402 , the auxiliary storage device 403 , a register in the processor 401 , or a cache memory in the processor 401 .

[0033] The auxiliary storage device 403 functions as the storage unit 490. However, another storage device may function as the storage unit 490 instead of the auxiliary storage device 403 or together with the auxiliary storage device 403.

[0034] The user key generation program can be recorded (stored) in a computer-readable manner on a non-volatile recording medium such as an optical disk or a flash memory.

[0035] The configuration of registration request device 500 according to the first embodiment will be described with reference to FIGS. The registration request device 500 is a computer. The registration request device 500 includes hardware such as a processor 501, a memory 502, an auxiliary storage device 503, an input / output interface 504, and a communication device 505. These pieces of hardware are connected to each other via signal lines.

[0036] The registration request device 500 includes elements such as a reception unit 510, a generation unit 520, and a request unit 530. The generation unit 520 includes an aggregation condition generation unit 521, a random number generation unit 522, a ciphertext generation unit 523, a keyword generation unit 524, and an encrypted tag generation unit 525. These elements are realized by software. The auxiliary storage device 503 stores a registration request program for causing a computer to function as the reception unit 510, the generation unit 520, and the request unit 530. The registration request program is loaded into the memory 502 and executed by the processor 501.

[0037] Furthermore, an OS is stored in the auxiliary storage device 503. At least a part of the OS is loaded into the memory 502 and executed by the processor 501. That is, the processor 501 executes the registration request program while executing the OS. Data obtained by executing the registration request program is stored in a storage device such as the memory 502, the auxiliary storage device 503, a register in the processor 501, or a cache memory in the processor 501.

[0038] The auxiliary storage device 503 functions as the storage unit 590. However, another storage device may function as the storage unit 590 instead of the auxiliary storage device 503 or together with the auxiliary storage device 503.

[0039] The registration request program can be recorded (stored) in a computer-readable manner on a non-volatile recording medium such as an optical disk or a flash memory.

[0040] The configuration of search request device 600 according to the first embodiment will be described with reference to FIG. The search request device 600 is a computer. The search request device 600 includes hardware such as a processor 601, a memory 602, an auxiliary storage device 603, an input / output interface 604, and a communication device 605. These pieces of hardware are connected to each other via signal lines.

[0041] The search request device 600 includes elements such as a receiving unit 610, a generating unit 620, a request unit 630, a decoding unit 640, and an output unit 650. These elements are realized by software. The auxiliary storage device 603 stores a search request program for causing a computer to function as a reception unit 610, a generation unit 620, a request unit 630, a decryption unit 640, and an output unit 650. The search request program is loaded into the memory 602 and executed by the processor 601.

[0042] Furthermore, an OS is stored in the auxiliary storage device 603. At least a part of the OS is loaded into the memory 602 and executed by the processor 601. In other words, the processor 601 executes the search request program while executing the OS. Data obtained by executing the search request program is stored in a storage device such as the memory 602 , the auxiliary storage device 603 , a register in the processor 601 , or a cache memory in the processor 601 .

[0043] The auxiliary storage device 603 functions as the storage unit 690. However, another storage device may function as the storage unit 690 instead of the auxiliary storage device 603 or together with the auxiliary storage device 603.

[0044] The search request program can be recorded (stored) in a computer-readable manner on a non-volatile recording medium such as an optical disk or a flash memory.

[0045] The configuration of a data management device 700 according to the first embodiment will be described with reference to FIG. The data management device 700 is a computer. The data management device 700 includes hardware such as a processor 701, a memory 702, an auxiliary storage device 703, an input / output interface 704, and a communication device 705. These pieces of hardware are connected to each other via signal lines.

[0046] The data management device 700 includes components such as a reception unit 710, a registration unit 720, a search unit 730, and an output unit 740. These components are realized by software. The auxiliary storage device 703 stores a data management program for causing a computer to function as a reception unit 710, a registration unit 720, a search unit 730, and an output unit 740. The data management program is loaded into the memory 702 and executed by the processor 701.

[0047] Furthermore, an OS is stored in the auxiliary storage device 703. At least a part of the OS is loaded into the memory 702 and executed by the processor 701. In other words, the processor 701 executes a data management program while executing the OS. Data obtained by executing the data management program is stored in a storage device such as the memory 702, the auxiliary storage device 703, a register in the processor 701, or a cache memory in the processor 701.

[0048] The auxiliary storage device 703 functions as the storage unit 790. However, another storage device may function as the storage unit 790 instead of the auxiliary storage device 703 or together with the auxiliary storage device 703.

[0049] The data management program can be recorded (stored) in a computer-readable manner on a non-volatile recording medium such as an optical disk or a flash memory.

[0050] The processors 201, 301, 401, 501, 601, and 701 are ICs that perform arithmetic processing and control other hardware. IC stands for Integrated Circuit. For example, the processors 201, 301, 401, 501, 601, and 701 are CPUs, DSPs, or GPUs. CPU stands for Central Processing Unit. DSP stands for Digital Signal Processor. GPU stands for Graphics Processing Unit.

[0051] The memories 202, 302, 402, 502, 602, and 702 are volatile storage devices. The memories 202, 302, 402, 502, 602, and 702 are also called primary storage devices or main memories. For example, the memories 202, 302, 402, 502, 602, and 702 are RAMs. RAM stands for Random Access Memory. Data stored in the memories 202, 302, 402, 502, 602, and 702 is saved in the secondary storage devices 203, 303, 403, 503, 603, and 703 as necessary.

[0052] The auxiliary storage devices 203, 303, 403, 503, 603, and 703 are non-volatile storage devices. For example, the auxiliary storage devices 203, 303, 403, 503, 603, and 703 are ROM, HDD, or flash memory. ROM stands for Read Only Memory. HDD stands for Hard Disk Drive. Data stored in the auxiliary storage devices 203, 303, 403, 503, 603, and 703 is loaded into the memory 202, 302, 402, 502, 602, and 702 as necessary.

[0053] The input / output interfaces 204, 304, 404, 504, 604, and 704 are ports to which input devices and output devices are connected. For example, the input / output interfaces 204, 304, 404, 504, 604, and 704 are USB terminals, the input devices being a keyboard and a mouse, and the output device being a display. USB is an abbreviation for Universal Serial Bus.

[0054] The communication devices 205, 305, 405, 505, 605, and 705 are receivers and transmitters. For example, the communication devices 205, 305, 405, 505, 605, and 705 are communication chips or NICs. NIC stands for Network Interface Card.

[0055] In addition, the master key generation device 200 may include a plurality of processors that replace the processor 201. The plurality of processors share the role of the processor 201. Similarly, the registration key generation device 300 may include a plurality of processors that replace the processor 301. The plurality of processors share the role of the processor 301. Similarly, the user key generation device 400 may include a plurality of processors that replace the processor 401. The plurality of processors share the role of the processor 401. Similarly, the registration request device 500 may include a plurality of processors that replace the processor 501. The plurality of processors share the role of the processor 501. Similarly, the search request device 600 may include a plurality of processors that replace the processor 601. The plurality of processors share the role of the processor 601. Similarly, the data management device 700 may include a plurality of processors that replace the processor 701. The plurality of processors share the role of the processor 701.

[0056] ***Explanation of Operation*** The operation of the confidential search system 100 according to the first embodiment will be described with reference to FIGS. The operation procedure of the confidential search system 100 according to the embodiment 1 corresponds to the confidential search method according to the embodiment 1. Moreover, the program that realizes the operation of the confidential search system 100 according to the embodiment 1 corresponds to the confidential search program according to the embodiment 1.

[0057] The overall processing of the confidential search system 100 according to the first embodiment will be described with reference to FIG. (Step S110 in FIG. 9: Master key generation process) The master key generation device 200 generates a master key MK, which is used to generate a registration key EK.

[0058] The master key generation process (step S110 in FIG. 9) according to the first embodiment will be described with reference to FIG. The master key generation process is executed by master key generation device 200. The operation procedure of master key generation apparatus 200 according to embodiment 1 corresponds to the master key generation method according to embodiment 1. Moreover, the program that realizes the operation of master key generation apparatus 200 according to embodiment 1 corresponds to the master key generation program according to embodiment 1.

[0059] (Step S111 in FIG. 10: Reception process) The accepting unit 210 accepts the key length BIT. Specifically, the reception unit 210 receives the key length BIT input to the master key generation device 200 via the input / output interface 204. However, the reception unit 210 may receive the key length BIT from an application program. The key length BIT is the bit length of the master key MK.

[0060] (Step S112 in FIG. 10: Generation process) The generation unit 220 generates a master key MK. Specifically, the generating unit 220 generates a random bit string having the same length as the key length BIT. The generated bit string is the master key MK. For example, when the key length BIT is 256 bits, the generating unit 220 generates a random bit string of 256 bits. As a result, a 256-bit master key MK is obtained.

[0061] (Step S113 in FIG. 10: Storage process) The generation unit 220 stores the master key MK in the storage unit 290.

[0062] (Step S114 in FIG. 10: Output process) The output unit 230 outputs the master key MK. For example, the output unit 230 transmits the master key MK to the registration key generation device 300 using the communication device 205 .

[0063] (Step S120 in FIG. 9: Registration key generation process) The registration key generating device 300 generates a registration key EK using a master key MK. The registration key EK is used to encrypt data and associated keywords. The registration key EK is also used to generate a user key UK.

[0064] The registration key generation process (step S120 in FIG. 9) according to the first embodiment will be described with reference to FIG. The registration key generation process is executed by the registration key generation device 300. The operation procedure of the registration key generating device 300 according to the embodiment 1 corresponds to the registration key generating method according to the embodiment 1. Moreover, the program for realizing the operation of the registration key generating device 300 according to the embodiment 1 corresponds to the registration key generating program according to the embodiment 1.

[0065] (Step S121 in FIG. 11: Reception process) The accepting unit 310 accepts the master key MK. For example, the reception unit 310 receives the master key MK from the master key generation device 200 using the communication device 305. However, the reception unit 310 may receive the master key MK input to the registration key generation device 300 via the input / output interface 304.

[0066] (Step S122 in FIG. 11: Generation process) The generation unit 320 generates a registration key EK using the master key MK. Specifically, the generation unit 320 executes a function F_EK using the master key MK as an input. The value obtained by executing the function F_EK is the registration key. An example of the function F_EK is a one-way function. A one-way function is a function whose input value is difficult to calculate from its output value. For example, a cryptographic hash function such as SHA256 or an encryption function such as AES is used as the function F_EK. AES stands for Advanced Encryption Standard.

[0067] The registration key EK can be expressed as follows: EK = F_EK(MK)

[0068] If it is desired to update an already generated registration key EK to a new registration key EK' due to the compromise of the registration key EK or the function F_EK, a new registration key EK' may be generated by adding a value such as a generation number i to the input of the function F_EK. For example, the generation number i is information such as a serial number or date and time. The generation number i may be received by the reception unit 310 together with the master key MK.

[0069] The registration key EK′ generated taking into account the generation number i can be expressed as follows: EK' = F_EK(MK||i) Here, for data x and data y, "x∥y" represents the concatenation of x and y.

[0070] (Step S123 in FIG. 11: Storage process) The generation unit 320 stores the registration key EK in the storage unit 390.

[0071] (Step S124 in FIG. 11: Output process) The output unit 330 outputs the registration key EK. For example, the output unit 330 uses the communication device 305 to transmit the registration key EK to both the user key generation device 400 and the registration request device 500 .

[0072] (Step S130 in FIG. 9: User key generation process) The user key generating device 400 generates a user key UK by using the registration key EK. The user key UK is used to encrypt a search keyword. The user key UK is also used to decrypt the ciphertext to restore the original data.

[0073] The user key generation process (step S130 in FIG. 9) according to the first embodiment will be described with reference to FIG. The user key generation process is executed by the user key generation device 400. The operation procedure of the user key generation device 400 according to the embodiment 1 corresponds to the user key generation method according to the embodiment 1. Moreover, the program that realizes the operation of the user key generation device 400 according to the embodiment 1 corresponds to the user key generation program according to the embodiment 1.

[0074] (Step S131 in FIG. 12: Reception process) The reception unit 410 receives the registration key EK. Then, the reception unit 410 stores the registration key EK in the storage unit 490. For example, the reception unit 410 receives the registration key EK from the registration key generation device 300 using the communication device 405. However, the reception unit 410 may receive the registration key EK input to the user key generation device 400 via the input / output interface 404. There is no need to receive the registration key EK if the registration key EK has already been stored in the storage unit 490. However, if the registration key EK is updated, the new registration key EK is added.

[0075] Furthermore, the receiving unit 410 receives attribute information A. Specifically, the receiving unit 410 receives the attribute information A input to the user key generation device 400 via the input / output interface 404. However, the receiving unit 410 may receive the attribute information A from an application program. Attribute information A is attribute information of a searcher. Furthermore, attribute information A is related to authority control for decryption and search. A searcher is a user who performs a search. In other words, a searcher is a user of search request device 600. User attributes form a hierarchy. Attribute information indicates attribute values ​​of each layer of users. In other words, attribute information A indicates attribute values ​​of each layer of searchers.

[0076] An example of attribute information according to the first embodiment will be described with reference to FIG. User attributes form a hierarchy. In FIG. 13, user attributes form three hierarchical levels. The first-level attribute (first attribute) indicates the department. The second-level attribute (second attribute) indicates the section. The third-level attribute (third attribute) indicates the name. In the first embodiment, a wildcard "*" can be used for the attributes of each layer. The wildcard "*" represents any character string. In other words, it is a special symbol that matches any character string.

[0077] The first attribute information is attribute information for a person named N1 who belongs to the Di1 section of the De1 department.

[0078] The second attribute information is attribute information of a person named N2 who belongs to the Di1 section of the De1 department.

[0079] The third attribute information is attribute information of a person named N3. N3 belongs to the Di2 Division of the De1 Department.

[0080] The fourth attribute information is attribute information that belongs to the Di1 Division of the De1 Department and has a name that is a wildcard "*". Since the name of this attribute information is the wildcard "*", it represents all people who belong to the Di1 Division of the De1 Department. In other words, this attribute information includes the first attribute information that is N1 and the second attribute information that is N2. In other words, this attribute information includes attribute information related to N1 and N2, and is located in a higher hierarchy than those attribute information. For example, the head of Di1 section of De1 department, who is the superior of N1 and N2, corresponds to this attribute information.

[0081] The fifth attribute information is attribute information that belongs to the De1 department and has a section name and a name that are the wildcard "*". This attribute information represents all people whose department is De1. That is, this attribute information includes the first attribute information that is N1, the second attribute information that is N2, the third attribute information that is N3, and the fourth attribute information that is the head of the Di1 department. In other words, this attribute information includes the attribute information related to N1, N2, and N3, as well as the fourth attribute information that is the head of the Di1 department, and is attribute information that is located in a higher hierarchy than those attribute information. For example, the length of the De1 section corresponds to this attribute information.

[0082] In the first embodiment, the attributes of the users form L layers, and the attribute information has L attribute values, where L is an integer equal to or greater than 1. That is, here, one attribute value is assigned to each layer. Furthermore, in the first embodiment, when a wildcard "*" is set to the l-th attribute value representing an attribute of a certain l-th layer, the wildcard "*" is set to all attribute values ​​from the l+1th layer onwards, where l is an integer between 1 and L.

[0083] In this case, the attribute information A can be expressed as follows: A = (A_1, ,A_L) A_1,...,A_L are attribute values. If A_l is a wildcard "*", then A_l+1 through A_L are all wildcard "*".

[0084] (Step S132 in FIG. 12: Generation process) The generation unit 420 generates a user key UK using the registration key EK and the attribute information A. Specifically, the generation unit 420 calculates the user key UK as follows. First, the generating unit 420 concatenates all of A_1 to A_L for the attribute information A=(A_1, , A_L). The value represented by the obtained bit string is called the concatenated value A&. That is, the concatenated value A& can be expressed as follows: A&=A_1||···||A_L Next, the generation unit 420 executes the function F_UK using the registration key EK and the concatenated value A& as input. The obtained value is called the user key element uk. The function F_UK is a one-way function such as a hash function or a symmetric key cryptosystem. The user key element uk can be expressed as follows: uk=F_UK(EK||A&) =F_UK(EK||A_1||···||A_L) Next, the generation unit 420 executes the function F_UKA using the registration key EK and the concatenated value A& as input. The obtained value is called the user key attribute uka. The function F_UKA is a one-way function such as a hash function or a symmetric key cryptosystem. However, the function F_UKA is not the same function as the function F_UK. If the function F_UK is used as the function F_UKA, it is necessary to concatenate a constant value such as 0 to the input value of the function F_UK to generate a user key attribute uka that is different from the user key element uk. The user key attribute uka can be expressed as follows: uka=F_UKA(EK||A_1||···||A_L) =F_UKA(EK||A&) Then, the generating unit 420 configures a pair of the user key element uk and the user key attribute uka as a user key UK. The user key UK can be expressed as follows. UK=(uk,uka)

[0085] (Step S133 in FIG. 12: Storage process) The generation unit 420 stores the user key UK in the storage unit 490.

[0086] (Step S134 in FIG. 12: Output process) The output unit 430 outputs the user key UK. For example, the output unit 430 transmits the user key UK to the search request device 600 using the communication device 405 .

[0087] After the user key generation process (step S130 in FIG. 9), the operation proceeds to a step according to the execution content. Specifically, if data registration is performed, the operation proceeds to the process of step S140. If data search is performed, the operation proceeds to the process of step S160. If data deletion is performed, the operation proceeds to the process of step S190.

[0088] (Step S140 in FIG. 9: Registration request process) The registration requesting device 500 generates encrypted data using the registration key EK. The encrypted data includes a ciphertext CT and an encrypted tag set ETS. The encrypted tag set ETS includes a single or multiple encrypted tags ET. The ciphertext CT is used to recover the plaintext data D contained in the ciphertext CT using the user key UK. A keyword is set in the encrypted tag ET. The encrypted tag ET is used to determine whether the set keyword matches a search keyword included in a search query. The search query is generated by encrypting the search keyword with a user key UK. The match determination is performed while maintaining the encrypted state.

[0089] The registration request process (step S140 in FIG. 9) according to the first embodiment will be described with reference to FIG. The registration request process is executed by registration request device 500 . An operation procedure of registration request device 500 according to embodiment 1 corresponds to a registration request method according to embodiment 1. Moreover, a program for realizing the operation of registration request device 500 according to embodiment 1 corresponds to a registration request program according to embodiment 1.

[0090] (Step S141 in FIG. 14: Reception process) The reception unit 510 receives the registration key EK. Then, the reception unit 510 stores the registration key EK in the storage unit 590. For example, the reception unit 510 receives the registration key EK from the registration key generation device 300 using the communication device 505. However, the reception unit 510 may receive the registration key EK input to the registration request device 500 via the input / output interface 504. There is no need to receive the registration key EK if the registration key EK has already been stored in the storage unit 590. However, if the registration key EK is updated, the new registration key EK is added.

[0091] Moreover, the receiving unit 510 receives the plain text data D and the attribute condition expression Σ. Specifically, the receiving unit 510 receives the plain text data D and the attribute condition formula Σ input to the registration request device 500 via the input / output interface 504. However, the receiving unit 510 may receive the plain text data D and the attribute condition formula Σ from an application program. The plaintext data D is data that has not been encrypted. The plaintext data D includes a unique identifier ID(D) that indicates the plaintext data D as metadata. The attribute condition formula Σ is information related to attributes in which each attribute condition X is connected with the logical operator OR. The attribute condition X is information that specifies the attribute information of a searcher who can decrypt a ciphertext or perform a confidential search of an encrypted tag. The attribute condition X has the same structure as the attribute information A used in generating the user key UK. In other words, the attribute condition X is information related to authority control related to decryption and search, and can be expressed as follows. X = (X_1, ,X_L)

[0092] For example, it is assumed that the first attribute information (De1, Di1, N1) which is attribute information related to N1 shown in Fig. 13 is specified as the attribute condition X. That is, it is assumed that X = (De1, Di1, N1) is specified. At this time, a searcher who possesses a user key UK generated from the first attribute information related to N1 and either the fourth attribute information or the fifth attribute information that is the superior of N1 can decrypt the ciphertext for which the attribute condition X is specified and search for the encrypted tag.

[0093] Furthermore, the attribute condition formula Σ is data consisting of a plurality of attribute conditions X. That is, it can be expressed as follows using M or more attribute conditions X, where M is an integer of 1 or more. Σ=(X1, ,XM) For example, suppose that the attribute condition formula Σ is composed of attribute condition X1 and attribute condition X2. That is, M=2. Suppose that the first attribute information (De1, Di1, N1) which is attribute information related to N1 shown in Fig. 13 is specified as attribute condition X1, and the second attribute information (De1, Di1, N2) which is attribute information related to N2 is specified as attribute condition X2. That is, X1=(De1, Di1, N1), X2=(De1, Di1, N2), and Σ=(X1, X2). In this case, a searcher who possesses a user key UK generated from the first attribute information related to N1, the second attribute information related to N2, and either the fourth attribute information or the fifth attribute information that is the superior of N1 and N2, can decrypt the ciphertext for which the attribute condition formula Σ is specified and search for the encrypted tag. That is, the attribute condition formula Σ=(X1, . . . , XM) can be regarded as the following logical formula using the logical operator OR: Σ=X1 OR ··· OR XM

[0094] (Step S142 in FIG. 14: Aggregation condition generation process) The aggregation condition generating unit 521 generates an aggregated attribute condition σ from an attribute condition formula Σ. The aggregated attribute condition σ for the attribute condition formula Σ has a plurality of attribute conditions Y obtained by adding one or more higher-level attribute conditions X' that include at least one of the attribute conditions X included in the attribute condition formula Σ to the plurality of attribute conditions X. In other words, the plurality of attribute conditions Y include the plurality of attribute conditions X and one or more higher-level attribute conditions X'.

[0095] That is, the aggregate attribute condition σ is information that specifies the attribute information of a searcher who can decrypt a ciphertext or search an encrypted tag, and is a condition that indicates the same searcher as the searcher specified by the attribute condition formula Σ. The aggregate attribute condition σ can be expressed as follows using J attribute conditions Y, where J is an integer equal to or greater than 1. Σ=(Y1, ,YJ) However, the upper hierarchical levels do not overlap. For example, any attribute information includes attribute information (*,...,*) that is all a wildcard "*" as a higher hierarchical level. However, the aggregate attribute condition σ does not include multiple attribute conditions X' that overlap and indicate attribute information (*,...,*). In other words, attribute conditions Y1 to YJ are all different attribute conditions.

[0096] For example, suppose that the attribute condition formula Σ is composed of attribute conditions X1, X2, and X3. That is, J = 3. Using the attribute information shown in Fig. 13, the attribute condition X1 is (De1, Di1, N1), the attribute condition X2 is (De1, Di1, N2), and the attribute condition X3 is (De1, Di2, N3). In this case, the attribute conditions including the upper hierarchy that match the attribute condition X1 are as follows: (De1,Di1,*) (De1,*,*) (*,*,*) In addition, the attribute conditions including the upper hierarchy that match the attribute condition X2 are as follows: (De1,Di1,*) (De1,*,*) (*,*,*) In addition, the attribute conditions including the upper hierarchy that match the attribute condition X3 are as follows: (De1,Di2,*) (De1,*,*) (*,*,*) Therefore, the aggregate attribute condition σ in this case is composed of the following seven attribute conditions Yj, where j is an integer between 1 and 7. Y1 = (De1,Di1,N1) Y2 = (De1,Di1,N2) Y3=(De1,Di1,*) Y4 = (De1,Di3,N3) Y5=(De1,Di2,*) Y6=(De1,*,*) Y7=(*,*,*)

[0097] (Step S143 in FIG. 14: Random number generation process for ciphertext) The random number generation unit 522 generates a random number s and a random number r. The random number generation unit 522 sets these two random numbers as a ciphertext random number CR. That is, the ciphertext random number CR can be expressed as follows. CR=(s,r)

[0098] (Step S144 in FIG. 14: Ciphertext generation process) The ciphertext generation unit 523 generates a ciphertext CT using the registration key EK, the plaintext data D, the aggregation attribute condition σ, and the ciphertext random number CR. The ciphertext CT includes J ciphertext elements CT_j, a ciphertext random number s, a ciphertext verification value CTV, and a ciphertext payload CTP. The j in the ciphertext element CT_j is an integer between 1 and J, inclusive, where J is the number of attribute conditions Y included in the aggregate attribute condition σ. The ciphertext random number s is the random number s included in the ciphertext random number CR. The ciphertext CT also includes a unique identifier ID(D) of the plaintext data as metadata. This unique identifier ID(D) may be encrypted.

[0099] The ciphertext generation unit 523 calculates the ciphertext element C_j for each integer j, j=1, . . . , J, as follows. First, the ciphertext generation unit 523 concatenates the registration key EK and Yj included in the aggregate attribute condition σ. The value represented by the obtained bit string is called the concatenated value Yj'. Next, the ciphertext generation unit 523 executes the function F_UK using the concatenated value Yj' as input. The obtained value is called the function value Yj''. Next, the ciphertext generation unit 523 concatenates the function value Yj'' and the ciphertext random number s. The value represented by the obtained bit string is called the concatenated value Yjs'. Next, the ciphertext generation unit 523 executes the function F_CT using the concatenated value Yjs' as input. The obtained value is called the function value Yjs''. Then, the ciphertext generation unit 523 calculates the exclusive OR of the function value Yjs'' and the random number r. The obtained value is the ciphertext element C_j. The function F_UK is a one-way function used in the process of step S132 in Fig. 12. The function F_CT is a one-way function such as a hash function or a common key cryptosystem.

[0100] The attribute condition Yj included in the aggregate attribute condition σ is set as the decryption condition for the ciphertext element C_j. As a result, the decryption condition set for the ciphertext CT is a state in which the attribute conditions Yj included in the aggregate attribute condition σ are connected by the logical operator OR.

[0101] The ciphertext generation unit 523 calculates the ciphertext verification value CTV as follows. The ciphertext generation unit 523 executes the function F_CTV using the random number r as input. The obtained value is the ciphertext verification value CTV. The function F_CTV is a one-way function such as a hash function or a common key cryptosystem.

[0102] The ciphertext generation unit 523 calculates the ciphertext payload CTP as follows. The ciphertext generation unit 523 executes the function ENC on the plaintext data D using the random number r as a key. The obtained value is the ciphertext payload CTP. The function ENC is a common key cryptosystem such as AES that can restore the original plaintext data from the encrypted data. Also, let DEC be the function that restores the original plaintext data from the output value of the ENC function and the key used in its calculation. That is, for a given key KEY, the function DEC satisfies DEC(KEY, ENC(KEY, D)) = D.

[0103] The ciphertext CT can be expressed as follows: Note that in the first embodiment, "+" means exclusive OR (XOR). CT=(CT_1,...,CT_J,s,CTV,CTP) CT_j=F_CT(F_UK(EK||Yj)||s)+r CTV = F_CTV(r) CTP = F_CTP(r,D)

[0104] (Step S145 in FIG. 14: Keyword generation process) The keyword generating unit 524 generates a group of keywords related to the plain text data D. The group of keywords is one or more keywords. Specifically, the keyword generation unit 524 performs morphological analysis or natural language processing on the plain text data D to generate a keyword group from the plain text data D. However, the keyword generation unit 524 may receive the keyword group input to the registration request device 500 via the input / output interface 504. Also, the keyword generation unit 524 may receive the keyword group from an application program. The generated group of keywords is called the registered keyword set W.

[0105] In the first embodiment, it is assumed that the registered keyword set W includes I registered keywords, where I is an integer equal to or greater than 1. The registered keyword set W can be expressed as follows. W = (W_1, ,W_I)

[0106] (Step S146 in FIG. 14: Tag random number generation process) The random number generation unit 522 generates a random number S and a random number R. The random number generation unit 522 sets these two random numbers as a random number TR for an encrypted tag. That is, the random number TR for an encrypted tag can be expressed as follows. TR=(S,R)

[0107] (Step S147 in FIG. 14: Encrypted tag generation process) The encrypted tag generation unit 525 generates an encrypted tag set ETS using the registration key EK, the registered keyword set W, the aggregate attribute condition σ, and the encrypted tag random number TR. The encrypted tag set ETS has I encrypted tags ETi, where i is an integer between 1 and I, and I is the number of keywords included in the keyword set W. The encrypted tag ETi has J tag elements ETi_j, an encrypted tag random number S, and an encrypted tag verification value ETV. j in the tag elements ETi_j is an integer between 1 and J, and J is the number of attribute conditions Y included in the aggregate attribute condition σ. The encrypted tag random number S is the random number S included in the encrypted tag random number TR.

[0108] The encrypted tag generating unit 525 calculates a tag element ETi_j for each integer i, j, where i=1, . . . , I and j=1, . First, the encrypted tag generation unit 525 concatenates the registration key EK and Yj included in the aggregate attribute condition σ. The value represented by the obtained bit string is called the concatenated value Yj^. Next, the encrypted tag generation unit 525 executes the function F_UK using the concatenated value Yj^ as input. The obtained value is called the function value Yj^^. Next, the encrypted tag generation unit 525 concatenates the function value Yj^^ and the keyword W_i. The value represented by the obtained bit string is called the concatenated value YjW^. Next, the encrypted tag generation unit 525 executes the function F_ET1 using the concatenated value YjW^ as input. The obtained value is called the function value YjW^^. Next, the encrypted tag generation unit 525 concatenates the function value YjW^^ and the encrypted tag random number S. The value represented by the obtained bit string is called the concatenated value YjWS^. Next, the encrypted tag generation unit 525 executes the function F_ET2 using the concatenated value YjWS^ as input. The obtained value is called the function value YjWS^^. Then, the encrypted tag generating unit 525 calculates the exclusive OR of the function value YjWS^^ and the random number R. The obtained value is the tag element ETi_j. The function F_UK is a one-way function used in the process of step S132 in Fig. 12 and the process of step S144 in Fig. 14. The functions F_ET1 and F_ET2 are one-way functions such as a hash function or a common key cryptosystem.

[0109] In the tag element ETi_j, Yj included in the aggregate attribute condition σ is set as a search condition. As a result, the search condition set in the encrypted tag ETi is a state in which the attribute condition Yj included in the aggregate attribute condition σ is connected by the logical operator OR.

[0110] The encrypted tag generation unit 525 calculates the encrypted tag verification value ETV as follows. The encrypted tag generation unit 525 executes the function F_ETV using the random number R as input. The obtained value is the encrypted tag verification value ETV. The function F_ETV is a one-way function such as a hash function or a common key cryptosystem.

[0111] The encrypted tag set ETS can be expressed as follows: ETS = (ET1, ,ETK, S, ETV) ETi = (ETi_1, ,ETi_K) ETi_j=F_ET2(F_ET1(F_UK(EK||Yj)||W_i)||S)+R ETV = F_ETV(R)

[0112] (Step S148 in FIG. 14: Registration request process) The request unit 530 requests the data management device 700 to register encrypted data that is a pair of the ciphertext CT and the encrypted tag set ETS.

[0113] (Step S150 in FIG. 9: Registration operation process) The data management device 700 registers encrypted data. The encrypted data includes a ciphertext CT and an encrypted tag set ETS. The encrypted tag set ETS includes a single or multiple encrypted tags ET.

[0114] The registration operation process (step S150 in FIG. 9) according to the first embodiment will be described with reference to FIG. The registration operation process is executed by the data management device 700. The operation procedure of the data management device 700 according to the embodiment 1 corresponds to the data management method according to the embodiment 1. Moreover, the program for realizing the operation of the data management device 700 according to the embodiment 1 corresponds to the data management program according to the embodiment 1.

[0115] (Step S151 in FIG. 15: Reception process) The reception unit 710 receives the ciphertext CT and the encrypted tag set ETS. For example, the reception unit 710 receives the ciphertext CT and the encrypted tag set ETS from the registration request device 500 using the communication device 705. However, the reception unit 710 may receive the ciphertext CT and the encrypted tag set ETS input to the data management device 700 via the input / output interface 704.

[0116] (Step S152 in FIG. 15: Registration process) The registration unit 720 stores the ciphertext CT and the encrypted tag set ETS in the storage unit 790. As shown in FIG. 16, the storage unit 790 stores a unique identifier ID(D), a ciphertext CT, and an encrypted tag set ETS in a mutually associated state.

[0117] (Step S160 in FIG. 9: Search request processing) The search request device 600 uses the user key UK to generate a search query SQ. The search query SQ is used to perform a confidential search of the encrypted tag ET.

[0118] The search request process (step S150 in FIG. 9) according to the first embodiment will be described with reference to FIG. The search request process is executed by the search request device 600 . The operation procedure of search request device 600 according to embodiment 1 corresponds to the search request method according to embodiment 1. Moreover, the program that realizes the operation of search request device 600 according to embodiment 1 corresponds to the search request program according to embodiment 1.

[0119] (Step S161 in FIG. 17: Reception process) The accepting unit 610 accepts the user key UK. Then, the accepting unit 610 stores the user key UK in the storage unit 690. For example, the reception unit 610 receives the user key UK from the user key generation device 400 using the communication device 605. However, the reception unit 610 may receive the user key UK input to the search request device 600 via the input / output interface 604. There is no need to receive the user key UK if the user key UK has already been stored in the storage unit 690. However, if the user key UK is updated, the new user key UK is added.

[0120] Furthermore, the accepting unit 610 accepts a search keyword w. Specifically, the receiving unit 610 receives the search keyword w input to the search request device 600 via the input / output interface 604. However, the receiving unit 610 may also receive the search keyword w from an application program.

[0121] (Step S162 in FIG. 17: Generation process) The generation unit 620 generates a search query SQ by using the user key UK and the search keyword w. Specifically, the generation unit 620 calculates the search query SQ as follows. First, the generation unit 620 extracts the user key element uk from the user key UK. Next, the generation unit 620A concatenates the user key element uk and the search keyword w. The value represented by the obtained bit string is called the concatenated value UKw^. Then, the generation unit 620 executes the function F_ET1 using the concatenated value UKw^ as input. The obtained value is the search query SQ. The function F_ET1 is a one-way function used in the process of step S147 in FIG.

[0122] The search query SQ can be expressed as follows: SQ=F_ET1(uk||w)

[0123] (Step S163 in FIG. 17: Request processing) The request unit 630 uses the communication device 605 to transmit the search query SQ to the data management device 700 .

[0124] (Step S170 in FIG. 9: Search operation process) The data management device 700 searches for encrypted data. The encrypted data includes a ciphertext CT and an encrypted tag set ETS. The encrypted tag set ETS includes one or more encrypted tags ET. The data management device 700 performs a secret search on the encrypted tag ET using the search query SQ. As a result, the data management device 700 determines whether the keywords included in the encrypted tag ET match the search keywords included in the search query SQ. If there is a match, the data management device 700 extracts the ciphertext CT stored in association with the encrypted tag ET.

[0125] The search operation process (step S170 in FIG. 9) according to the first embodiment will be described with reference to FIG. The search operation process is executed by the data management device 700 .

[0126] (Step S171 in FIG. 18: Reception process) The receiving unit 710 receives a search query SQ. For example, the receiving unit 710 receives the search query SQ from the search request device 600 using the communication device 705. However, the receiving unit 610 may receive the search query SQ input to the data management device 700 via the input / output interface 704.

[0127] (Step S172 in FIG. 18: Search process) The search unit 730 performs a confidential search on each of the J tag elements ETi_j of the I encrypted tags ETi included in the encrypted tag set ETS using the search query SQ. In this way, the search unit 730 selects the encrypted tag set ETS that matches the search query SQ. The i in the encrypted tag ETi is an integer between 1 and I, inclusive, where I is the number of encrypted tags ETi included in the encrypted tag set ETS. Also, the j in the tag element ETi_j is an integer between 1 and J, inclusive, where J is the number of tag elements ETi_j included in the encrypted tag ETi.

[0128] Specifically, the search unit 730 performs the following process on each tag element ETi_j of the encrypted tag ETi in the encrypted tag set ETS. First, the search unit 730 concatenates the search query SQ and the encrypted tag random number S included in the encrypted tag set ETS. The value represented by the obtained bit string is called the concatenated value SQ^. Next, the search unit 730 executes the function F_ET2 using the concatenated value SQ^ as input. The obtained value is called the function value SQ^^. Next, the search unit 730 calculates the exclusive OR of the function value SQ^^ and the encrypted tag ETi_j. The obtained value is called the calculated value Rij. Next, the search unit 730 executes the function F_ETV using the calculated value Rij as input. The obtained value is called the function value Vij. Then, the search unit 730 checks whether the function value Vij matches the value of the encrypted tag verification value ETV included in the encrypted tag set ETS. If the values ​​match, the unique identifier ID corresponding to the encrypted tag ETi_j is extracted. The functions F_ET2 and F_ETV are one-way functions used in step S147 of FIG.

[0129] The function value SQ^^ and the calculated value Rij obtained by the above process can be expressed as follows. SQ^^=F_ET2(SQ||S) =F_ET2(F_ET1(F_UK(EK||A&)||w)||S) Rij=SQ^^+ETi_j =F_ET2(F_ET1(F_UK(EK||A&)||w)||S) +F_ET2(F_ET1(F_UK(EK||Yj)||W_i)||S) +R If "A&=Yj" and "w=W_i", that is, if "the attribute information A contained in the user key UK is equal to the attribute condition Yj contained in the encrypted tag ETi" and "the search keyword w is equal to the registered keyword W_i", then "Rij=R". Therefore, in this case, "Vij = F_ETV(Rij) = F_ETV(R) = ETV".

[0130] The set of unique identifiers ID extracted here is called a corresponding unique identifier set IDS.

[0131] (Step S173 in FIG. 18: Ciphertext extraction process) The search unit 730 extracts the ciphertext CT corresponding to the unique identifier ID included in the unique identifier set IDS from the storage unit 790. The set of extracted ciphertext CT is called an encrypted search result ERES. If the unique identifier set IDS is an empty set, this step is omitted.

[0132] (Step S174 in FIG. 18: Output process) The output unit 740 transmits the encrypted search result ERES to the search request device 600 .

[0133] (Step S180 in FIG. 9: Decryption Operation Processing) The search request device 600 decrypts the encrypted data using the user key UK. The encrypted data is the ciphertext CT included in the encrypted search result ERES.

[0134] The decryption operation process (step S180 in FIG. 9) according to the first embodiment will be described with reference to FIG. The decryption operation is executed by the search request device 600 .

[0135] (Step S181 in FIG. 19: Reception process) The receiving unit 610 receives the encrypted search result ERES. For example, the reception unit 610 receives the encrypted search result ERES from the data management device 700 using the communication device 605. However, the reception unit 610 may also receive the encrypted search result ERES input to the search request device 600 via the input / output interface 604.

[0136] (Step S182 in FIG. 19: Decryption process) The decryption unit 640 generates plaintext data D by decrypting each ciphertext CT included in the encrypted search result ERES using the user key UK. If the encrypted search result ERES is an empty set, this step is omitted.

[0137] Specifically, the decryption unit 640 sets each ciphertext CT included in the encrypted search result ERES as the target ciphertext CT. The decryption unit 640 performs the following process on the ciphertext element CT_j for each integer J=1,...,J in the target ciphertext CT to perform decryption, where j is an integer between 1 and J, and J is the number of ciphertext elements CT_j included in the ciphertext CT. First, the decryption unit 640 concatenates the user key element uk included in the user key UK and the ciphertext random number s included in the ciphertext CT. The value represented by the obtained bit string is called the concatenated value uk'^. Next, the decryption unit 640 executes the function F_CT using the concatenated value uk' as input. The obtained value is called the function value uk''. Next, the decryption unit 640 calculates the exclusive OR of the function value uk'' and the ciphertext element CT_j. The obtained value is called the calculated value rj. Next, the decryption unit 640 executes the function F_CTV using the calculated value rj as input. The obtained value is called the function value vj. Next, the decryption unit 640 checks whether the function value vj matches the ciphertext verification value CTV included in the ciphertext CT. If the function value vj matches the ciphertext verification value CTV, the decryption unit 640 executes the function DEC on the ciphertext payload CTP using the calculated value rj as a key. The functions F_CT and F_CTV are one-way functions used in step S144 of FIG.

[0138] The function value uk'' and calculated value rj obtained by the above process can be expressed as follows: uk''=F_CT(uk||s) = F_CT(F_UK(EK||A&)||s) rj=uk''+CT_j =F_CT(F_UK(EK||A&)||s) +F_CT(F_UK(EK||Yj)||s)+ r If "A&=Yj", that is, if "the attribute information A included in the user key UK is equal to the attribute condition Yj included in the ciphertext CT", then "rj=r". Therefore, in this case, "vj = F_CTV(rj) = F_CTV(r) = CTV".

[0139] The set of plaintext data D obtained here is called the search result RES.

[0140] (Step S183 in FIG. 19: Output process) The output unit 650 outputs all of the plain text data D included in the search result RES. Specifically, the output unit 650 displays all the plaintext data D on the display via the input / output interface 604. If the search result RES is an empty set, that is, if there is no encrypted tag ET that is a hit in the search, the output unit 650 displays a message indicating that there is no plaintext data D that is a hit in the search.

[0141] (Step S190 in FIG. 9: Deletion operation process) The data management device 700 deletes the encrypted data, which is the ciphertext CT and the corresponding encrypted tag set ETS.

[0142] The delete operation process (step S190 in FIG. 9) according to the first embodiment will be described with reference to FIG. The delete operation process is executed by the data management device 700 .

[0143] (Step S191 in FIG. 20: Reception process) The reception unit 710 receives the unique identifier ID(D). Specifically, the receiving unit 710 receives the unique identifier ID(D) input to the data management device 700 via the input / output interface 704. However, the receiving unit 710 may receive the unique identifier ID(D) from an application program. The receiving unit 710 may also receive the unique identifier ID(D) from the registration request device 500 or the search request device 600 using the communication device 705. The unique identifier ID(D) is obtained as a result of the search request process (step S160 in FIG. 9), the search operation process (step S170 in FIG. 9), and the decryption operation process (step S180 in FIG. 9).

[0144] (Step S192 in FIG. 20: Deletion process) The reception unit 710 deletes the ciphertext CT and the encrypted tag set ETS corresponding to the unique identifier ID(D) from the storage unit 790.

[0145] ***Advantages of the First Embodiment*** As described above, the confidential search system 100 according to the first embodiment can realize a multi-user confidential search method using only the common key cryptography. That is, the multi-user confidential search method can be realized without using the public key cryptography. This allows data registration and search to be performed at high speed.

[0146] The confidential search system 100 according to the first embodiment can simultaneously set multiple attribute conditions to be set in the ciphertext and encrypted tag using the logical operator OR. As a result, it is possible to easily specify a searcher who can decrypt and search even with an attribute condition using the logical operator OR. Furthermore, when an attribute condition using the logical operator OR is specified, not only can the data size of the ciphertext and encrypted tag be reduced compared to the conventional multi-user common key method, but also decryption and search can be performed efficiently. In addition, since there is no need to distribute multiple user private keys to searchers, it is possible to prevent an increase in the operational load.

[0147] The confidential search system 100 according to the first embodiment generates an aggregated attribute condition σ by adding a higher-level attribute condition X' that includes at least one of the specified attribute conditions to the specified attribute condition X. Then, the confidential search system 100 sets a search condition in which attribute conditions Y (= attribute conditions X, X') included in the aggregated attribute condition σ are connected by a logical operator OR to the ciphertext and the encrypted tag. This makes it possible to realize a multi-user type common key system that can efficiently specify a searcher who can decrypt and search while being aware of the hierarchical structure by using a wildcard.

[0148] Embodiment 2 The second embodiment differs from the first embodiment in that the encrypted attribute information is used to first narrow down the searchable ciphertexts CT, thereby efficiently decrypting the ciphertexts CT and searching the encrypted tags ET. In the second embodiment, this difference will be explained, and explanations of the same points will be omitted.

[0149] ***Configuration Description*** Part of the configuration of the registration request device 500, part of the configuration of the search request device 600, and part of the configuration of the data management device 700 are different from those in the first embodiment.

[0150] The configuration of a registration request device 500 according to the second embodiment will be described with reference to FIGS. Registration request device 500 includes generation unit 520A instead of generation unit 520 of embodiment 1. Specifically, as shown in Fig. 22, generation unit 520A includes ciphertext generation unit 523A instead of ciphertext generation unit 523, includes encrypted tag generation unit 525A instead of encrypted tag generation unit 525, and further includes attribute element generation unit 526.

[0151] The configuration of a search request device 600 according to the second embodiment will be described with reference to FIG. Search request device 600 includes a generation unit 620A instead of generation unit 620 in the first embodiment, a decryption unit 640A instead of decryption unit 640, and further includes a narrowing down unit 660 in addition.

[0152] The configuration of a data management device 700 according to the second embodiment will be described with reference to FIG. The data management device 700 includes a search section 730A instead of the search section 730 of the first embodiment, and further includes a narrowing down section 750 in addition.

[0153] ***Explanation of Operation*** The operation of the confidential search system 100 according to the second embodiment will be described with reference to FIGS. The operation procedure of the confidential search system 100 according to the embodiment 2 corresponds to the confidential search method according to the embodiment 2. Moreover, the program that realizes the operation of the confidential search system 100 according to the embodiment 2 corresponds to the confidential search program according to the embodiment 2.

[0154] The overall processing of the confidential search system 100 according to the second embodiment will be described with reference to FIG. The processes in steps S110, S120, S130, S150, and S190 are the same as those in the first embodiment.

[0155] The registration request process (step S140A in FIG. 25) according to the second embodiment will be described with reference to FIG. The process of step S140A corresponds to step S140 in Fig. 9. The processes of steps S141, S142, S143, S145, S146, and S148 are the same as those in the first embodiment.

[0156] (Step S142A in FIG. 26: Attribute element generation process) The attribute element generating unit 526 generates an encrypted aggregate attribute condition Eσ using the aggregate attribute condition σ. Specifically, the attribute element generation unit 526 calculates the encrypted aggregate attribute condition Eσ as follows: The encrypted aggregate attribute condition Eσ has J encrypted attribute conditions Eσ_j, where j is an integer between 1 and J, and J is the number of attribute conditions included in the aggregate attribute condition σ. First, the attribute element generation unit 526 concatenates the registration key EK with Yj included in the aggregate attribute condition σ for each integer j, j=1,...,J. The value represented by the obtained bit string is called the concatenated value Yj'. Then, the ciphertext generation unit 523 executes the function F_UKA using the concatenated value Yj' as input. The obtained value is Eσ_j. The function F_UKA is the one-way function used in step S132 of FIG.

[0157] The encrypted aggregate attribute condition Eσ can be expressed as follows: Eσ = (Eσ1, ,EσJ) Eσj = F_UKA(EK||Yj)

[0158] (Step S144A in FIG. 26: Ciphertext generation process) The ciphertext generation unit 523A generates a ciphertext CT using the registration key EK, the plaintext data D, the aggregated attribute condition σ, the encrypted aggregated attribute condition Eσ, and the ciphertext random number CR. The ciphertext CT has J ciphertext elements CT_j, J ciphertext attributes CTA_j, a ciphertext random number s, a ciphertext verification value CTV, and a ciphertext payload CTP. j is an integer between 1 and J, and J is the number of attribute conditions Y included in the aggregate attribute condition σ. The ciphertext CT also includes a unique identifier ID(D) of the plaintext data as metadata of the plaintext data D. This unique identifier ID(D) may be encrypted. The ciphertext element CT_j, the ciphertext random number s, the ciphertext verification value CTV, and the ciphertext payload CTP are the same as those in the first embodiment.

[0159] The ciphertext generation unit 523A sets the ciphertext attribute CTA_j as follows. The ciphertext generation unit 523A sets, for each integer j, j=1, . . . , J, the encrypted attribute condition Eσj included in the encrypted aggregation attribute condition Eσ to the ciphertext attribute CTA_j.

[0160] The ciphertext CT can be expressed as follows: Note that in the second embodiment, "+" means exclusive OR (XOR). CT=(CT_1,···,CT_J,CTA_1,···,CTA_J,s,CTV,CTP) CT_j=F_CT(F_UK(EK||Yj)||s)+r CTA_j=Eσj =F_UKA(EK||Yj) CTV = F_CTV(r) CTP = F_CTP(r,D)

[0161] (Step S147A in FIG. 26: Encrypted tag generation process) The encrypted tag generation unit 525A generates an encrypted tag set ETS using the registration key EK, the registered keyword set W, the aggregated attribute condition σ, the encrypted aggregated attribute condition Eσ, and the encrypted tag random number TR. The encrypted tag set ETS has I encrypted tags ETi and J encrypted tag attributes ETA_j. i in the encrypted tag ETi is an integer greater than or equal to 1 and less than or equal to I, where I is the number of keywords included in the keyword set W. j in the encrypted tag attribute ETA_j is an integer greater than or equal to 1 and less than or equal to J, where J is the number of attribute conditions included in the aggregate attribute condition σ. The encrypted tag ETi is the same as in the first embodiment.

[0162] The encrypted tag generating unit 525A calculates the encrypted tag attribute ETA_j as follows. The encrypted tag generating unit 525A sets, for each integer j, j=1, . . . , J, the encrypted attribute condition Eσj included in the encrypted aggregated attribute condition Eσ to the encrypted tag attribute ETA_j.

[0163] The encrypted tag set ETS can be expressed as follows: ETS=(ET1,···,ETI,ETA_1,···,ETA_J,S,ETV) ETi = (ETi_1, ,ETi_J) ETi_j=F_ET2(F_ET1(F_UK(EK||Yj)||W_i)||S)+R ETA_j=Eσj =F_UKA(EK||Yj) ETV = F_ETV(R)

[0164] The search request process (step S160A in FIG. 25) according to the second embodiment will be described with reference to FIG. The process of step S160A corresponds to step S160 in Fig. 9. Steps S161 and S163 are the same as those in the first embodiment.

[0165] (Step S162A in FIG. 27: Generation process) The generating unit 620A generates a search query SQ using a user key UK and a search keyword w. The search query SQ has a search query element sq and a search query attribute sqa.

[0166] Generator 620A calculates the search query element sq as follows. First, the generation unit 620A extracts the user key element uk from the user key UK. Next, the generation unit 620A concatenates the user key element uk and the search keyword w. The value represented by the obtained bit string is called the concatenated value w^. The generation unit 620A then executes the function F_ET1 using the concatenated value w^ as input. The obtained value is the search query element sq.

[0167] The generating unit 620A sets the user key attribute uka of the user key UK to the search query attribute sqa.

[0168] The search query SQ can be expressed as follows: SQ = (sq,sqa) sq=F_ET1(uk||w) =F_ET1(F_UK(EK||A&)||w) sqa=uka =F_UKA(EK||A&)

[0169] The search operation process (step S170A in FIG. 25) according to the second embodiment will be described with reference to FIG. The process of step S170A corresponds to step S170 in Fig. 9. Steps S171, S173, and S174 are the same as those in the first embodiment.

[0170] (Step S172A in FIG. 28: Narrowing process) The narrowing-down unit 750 narrows down the encrypted tag set ETS by using a search query attribute sqa included in the search query SQ. Specifically, the narrowing down unit 750 searches for an encrypted tag attribute ETA_j in each encrypted tag set ETS that matches the search query attribute sqa. The narrowing down unit 750 extracts a unique identifier ID(D) and an integer j that is a subscript of ETA_j, which are included as metadata in the encrypted tag set ETS of the matching encrypted tag attribute ETA_j. A set of pairs of the extracted unique identifier ID(D) and the integer j is called a narrowed down encrypted tag set ETSID.

[0171] The narrowed down encrypted tag set ETSID can be expressed as follows: where K is an integer equal to or greater than 1 and is the number of extracted integers j. Also, j_1 to j_K are integers equal to or greater than 1 and equal to or less than J, and represent the extracted integer j. ETSID={(ID(D1),j_1),...,(ID(DK),j_K)}

[0172] That is, (ID(Dk),j_k) included in the narrowed down encrypted tag set ETSID indicates that only the search query SQ and special operations need to be performed on tag elements ET1_(j_k) to ETI_(j_k) of the encrypted tag set ETS corresponding to the unique identifier ID(Dk). In other words, the target of the special operation is narrowed down to only the encrypted tag set ETS corresponding to the unique identifier ID(Dk) in the encrypted tag set ETS. Furthermore, the target of the special operation is narrowed down to only the tag element ETi_(j_k) indicated by the integer j_k among the J tag elements ETi_j for each of I encrypted tags ETi included in the narrowed down encrypted tag set ETS. In other words, in this step, the encrypted tag attribute ETA_(j_k) used to construct the tag elements ET1_(j_k) to ETI_(j_k) that match the search query attribute sqa is extracted. Then, in the next step, a process is performed to check whether each of the keywords W_1 to W_I included in the tag elements ET1_(j_k) to ETI_(j_k) matches the search keyword w included in the search query element sq.

[0173] Here, the tag element ETi_(j_k) and the search query element sq, and the encrypted tag attribute ETA_(j_k) and the search query attribute sqa can be expressed as follows: ETi_(j_k)=F_ET2(F_ET1(F_UK(EK||Yj_k)||w_i)||S)+R sq = F_ET1(F_UK(EK||A&)||w) ETA_(j_k)=F_UKA(EK||Yj_k) sqa = F_UKA(EK||A&)

[0174] More precisely, if the encrypted tag attribute ETA_(j_k) and the search query attribute sqa are equal, then the attribute condition Yj_k contained in the tag element ETi_(j_k) and the linked value A& of the attribute information contained in the search query element sq are equal.

[0175] (Step S172B in FIG. 28: Search process) The search unit 730A performs a confidential search on each of the tag elements ETi_(j_k) of the encrypted tag set ETS corresponding to the narrowed down encrypted tag set ETSID using the search query SQ. In this way, the search unit 730A selects the encrypted tag set ETS that matches the search query SQ. The i in the encrypted tag ETi is an integer between 1 and I, inclusive, where I is the number of encrypted tags ETi included in the encrypted tag set ETS. Also, j_k in the tag element ETi_(j_k) is an integer between 1 and J, inclusive, and is a value included in the narrowed down encrypted tag set ETSID.

[0176] Specifically, the search unit 730A sets each (ID(Dk),j_k) included in the narrowed down encrypted tag set ETSID to the target (ID(Dk),j_k). The search unit 730A sets each encrypted tag set ETS corresponding to the unique identifier ID(Dk) in the target (ID(Dk),j_k) to the target encrypted tag set ETS. For each of I encrypted tags ETi included in the target encrypted tag set ETS, the search unit 730A sets the tag element ETi_(j_k) indicated by the integer j_k among the J tag elements ETi_j to the target tag element ETi_(j_k). Then, the search unit 730A performs the following processing on the target tag element ETi_(j_k). First, the search unit 730A concatenates the search query element sq included in the search query SQ and the encrypted tag random number S included in the encrypted tag set ETS corresponding to the unique identifier ID(Dk). The value represented by the obtained bit string is called the concatenated value sq^. Next, the search unit 730A executes the function F_ET2 using the concatenated value sq^ as input. The obtained value is called the function value sq^^. Next, the search unit 730A calculates the exclusive OR of the function value sq^^ and the encrypted tag ETi_(j_k). The obtained value is called the calculated value Rijk. Next, the search unit 730A executes the function F_ETV using the calculated value Rijk as input. The obtained value is called the function value Vijk. Then, the search unit 730A checks whether the function value Vijk matches the encrypted tag verification value ETV included in the encrypted tag set ETS, and if the values ​​match, extracts the unique identifier ID corresponding to the tag element ETi_(j_k).

[0177] The function value sq^^ and the calculated value Rijk obtained by the above process can be expressed as follows. sq^^=F_ET2(sq||S) =F_ET2(F_ET1(F_UK(EK||A&)||w)||S) Rijm = sq^^ + ETi_(j_k) =F_ET2(F_ET1(F_UK(EK||A&)||w)||S) +F_ET2(F_ET1(F_UK(EK||Yj_k)||W_i)||S) +r If "A&=Yj_k" and "w=W_i", that is, if "the attribute information A contained in the user key UK is equal to the attribute condition Yj_k contained in the encrypted tag ETi" and "the search keyword w is equal to the registered keyword W_i", then "Rijk=R". Therefore, in this case, "Vijk = F_ETV(Rijk) = F_ETV(R) = ETV".

[0178] The set of unique identifiers ID extracted here is called a corresponding unique identifier set IDS.

[0179] The decryption operation process (step S180A in FIG. 25) according to the second embodiment will be described with reference to FIG. The process of step S180A corresponds to step S180 in Fig. 9. Steps S181 and S183 are the same as those in the first embodiment.

[0180] (Step S182A in FIG. 29: Narrowing process) The narrowing down unit 660 generates a narrowed down result ERES' by converting each ciphertext CT included in the encrypted search result ERES into a narrowed down ciphertext CT' using the user key UK. If the encrypted search result ERES is an empty set, this step is omitted.

[0181] Specifically, the narrowing down unit 660 performs the following process on each ciphertext CT included in the encrypted search result ERES to generate a narrowed down ciphertext CT'. First, the narrowing down unit 660 searches for a ciphertext attribute CTA_j included in the ciphertext CT that matches the user key attribute uka included in the user key UK. Here, j is an integer between 1 and J, and J is the number of ciphertext elements CTA_j included in the ciphertext CT. Next, the narrowing down unit 660 extracts the ciphertext element CT_j, the ciphertext random number s, and the ciphertext verification value CTV that correspond to the ciphertext attribute CTA_j that matches the user key attribute uka. Then, the narrowing down unit 660 combines the extracted ciphertext attribute CTA_j, the ciphertext element CT_j, the ciphertext random number s, and the ciphertext verification value CTV, and sets them as a narrowed down ciphertext CT'. This narrowed down ciphertext CT' is added to the narrowed down result ERES'.

[0182] In this case, the narrowed ciphertext CT′ can be expressed as follows. CT' = (CTA_j, CT_j, s, CTV) Here, the ciphertext element CT_j, the user key element uk, the ciphertext attribute CTA_j, and the user key attribute uka can be expressed as follows: CT_j =F_CT(F_UK(EK||Yj_k)||s)+r uk = F_UK(EK||A&) CTA_j=F_UKA(EK||Yj_k) uka = ​​F_UKA(EK||A&) In other words, if the ciphertext attribute CTA_j and the user key attribute uka are equal, then the attribute condition Yj_k included in the ciphertext element CT_j and the attribute information A& included in the user key element uk are equal. As a result, the confidential search process need not be performed on all ciphertext elements CT_j, but only on the ciphertext element CT_j corresponding to the ciphertext attribute CTA_j that matches the user key attribute uka.

[0183] (Step S182B in FIG. 29: Decryption process) The decryption unit 640A uses the user key UK to decrypt the plaintext data D from each of the narrowed ciphertexts CT' included in the narrowed result ERES'. If the narrowed down result ERES' is an empty set, this step is omitted.

[0184] Specifically, the decryption unit 640A processes and decrypts the narrowed ciphertext CT' of the narrowed result ERES' as follows. First, the decryption unit 640A concatenates the user key element uk included in the user key UK and the ciphertext random number s included in the narrowed ciphertext CT'. The value represented by the obtained bit string is called the concatenated value uk^. Next, the decryption unit 640A executes the function F_CT using the concatenated value uk^ as input. The obtained value is called the function value uk^^. Next, the decryption unit 640A calculates the exclusive OR of the function value uk^^ and the ciphertext element CT_j included in the narrowed ciphertext CT'. The obtained value is called the calculated value rj. Next, the decryption unit 640A executes the function F_CTV using the calculated value rj as input. The obtained value is called the function value vj. Next, the decryption unit 640A checks whether the function value vj matches the ciphertext verification value CTV included in the ciphertext CT. If the function value vj matches the ciphertext verification value CTV, the decryption unit 640A executes the function DEC on the ciphertext payload CTP using the calculated value rj as a key. The obtained value is the plaintext data D.

[0185] The function value uk^^ and calculated value rj obtained by the above process can be expressed as follows. uk^^=F_CT(uk||s) =F_CT(F_UK(EK||A&)||s) rj=uk^^+CT_j =F_CT(F_UK(EK||A&)||s) +F_CT(F_UK(EK||Yj)||s)+r If "A&=Yj", that is, if "the attribute information A included in the user key UK is equal to the attribute condition Yj included in the ciphertext CT", then "rj=r". Therefore, in this case, "vj = F_CTV(rj) = F_CTV(r) = CTV". In addition, since the integer j for which "the attribute information A contained in the user key UK is equal to the attribute condition Yj contained in the ciphertext CT" has already been narrowed down in step S182A, the decryption process can be performed quickly, unlike in embodiment 1.

[0186] ***Effects of the second embodiment*** As described above, the confidential search system 100 according to the second embodiment includes the encrypted tag attribute ETA_j including the encrypted attribute condition Eσj encrypted by setting the attribute condition without setting a keyword in the encrypted tag set ETS. This makes it possible to efficiently narrow down the ciphertext CT for which a searchable attribute condition is set. In other words, it is possible to narrow down the data to be searched. As a result, it is possible to perform a search faster than the first embodiment.

[0187] Similarly, the confidential search system 100 according to the second embodiment includes the ciphertext attribute CTA_j including the encryption attribute condition Eσj in the ciphertext CT. This makes it possible to efficiently narrow down the ciphertext CT for which the decryptable attribute condition is set. In other words, it is possible to narrow down the data to be decrypted. As a result, it is possible to perform decryption faster than in the first embodiment.

[0188] ***Other configurations*** <Variation 1> In the first and second embodiments, each functional component is realized by software. However, as a first modification, each functional component may be realized by hardware. The following describes the first modification, focusing on the differences from the first and second embodiments.

[0189] The configuration of a master key generation device 200 according to the first modification will be described with reference to FIG. When each functional component is realized by hardware, master key generation device 200 includes electronic circuit 206 instead of processor 201, memory 202, and auxiliary storage device 203. Electronic circuit 206 is a dedicated circuit for realizing the functions of each functional component of master key generation device 200, memory 202, and auxiliary storage device 203.

[0190] The configuration of a registration key generating device 300 according to the first modification will be described with reference to FIG. When each functional component is realized by hardware, the registration key generation device 300 includes an electronic circuit 306 instead of the processor 301, the memory 302, and the auxiliary storage device 303. The electronic circuit 306 is a dedicated circuit for realizing the functions of each functional component of the registration key generation device 300, the memory 302, and the auxiliary storage device 303.

[0191] The configuration of a user key generation device 400 according to the first modification will be described with reference to FIG. When each functional component is realized by hardware, the user key generation device 400 includes an electronic circuit 406 instead of the processor 401, the memory 402, and the auxiliary storage device 403. The electronic circuit 406 is a dedicated circuit for realizing the functions of each functional component of the user key generation device 400, and the memory 402 and the auxiliary storage device 403.

[0192] The configuration of registration request device 500 according to the first modification will be described with reference to FIG. When each functional component is realized by hardware, registration request device 500 includes electronic circuitry 506 instead of processor 501, memory 502, and auxiliary storage device 503. Electronic circuitry 506 is a dedicated circuit for realizing the functions of each functional component of registration request device 500 and memory 502 and auxiliary storage device 503.

[0193] The configuration of a search request device 600 according to the first modification will be described with reference to FIG. When each functional component is realized by hardware, the search request device 600 includes an electronic circuit 606 instead of the processor 601, the memory 602, and the auxiliary storage device 603. The electronic circuit 606 is a dedicated circuit for realizing the functions of each functional component of the search request device 600 and the memory 602 and the auxiliary storage device 603.

[0194] The configuration of a data management device 700 according to the first modification will be described with reference to FIG. When each functional component is realized by hardware, the data management device 700 includes an electronic circuit 706 instead of the processor 701, the memory 702, and the auxiliary storage device 703. The electronic circuit 706 is a dedicated circuit for realizing the functions of each functional component of the data management device 700 and the functions of the memory 702 and the auxiliary storage device 703.

[0195] The electronic circuits 206, 306, 406, 506, 606, and 706 may be a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, or an FPGA. GA stands for Gate Array. ASIC stands for Application Specific Integrated Circuit. FPGA stands for Field-Programmable Gate Array. Each functional component may be realized by one electronic circuit 206 , 306 , 406 , 506 , 606 , 706 , or each functional component may be realized by distributing it among a plurality of electronic circuits 206 , 306 , 406 , 506 , 606 , 706 .

[0196] <Variation 2> As a second modification, some of the functional components may be realized by hardware, and other functional components may be realized by software.

[0197] The processors 201, 301, 401, 501, 601, and 701, the memories 202, 302, 402, 502, 602, and 702, and the electronic circuits 206, 306, 406, 506, 606, and 706 are referred to as a processing circuit. In other words, the functions of the functional components are realized by the processing circuit.

[0198] Furthermore, the term "part" in the above description may be read as a "circuit," "step," "procedure," "processing," or "processing circuit."

[0199] The above describes the embodiments and modifications of the present disclosure. Some of these embodiments and modifications may be combined and implemented. Also, one or some of them may be partially implemented. Note that the present disclosure is not limited to the above embodiments and modifications, and various modifications are possible as necessary. [Explanation of symbols]

[0200] 100 Confidential search system, 101 Network, 200 Master key generation device, 201 Processor, 202 Memory, 203 Auxiliary storage device, 204 Input / output interface, 205 Communication device, 210 Acceptance unit, 220 Generation unit, 230 Output unit, 290 Storage unit, 300 Registration key generation device, 301 Processor, 302 Memory, 303 Auxiliary storage device, 304 Input / output interface, 305 Communication device, 310 Acceptance unit, 320 Generation unit, 330 Output unit, 390 Storage unit, 400 User key generation device, 401 Processor, 402 Memory, 403 Auxiliary storage device, 404 Input / output interface, 405 Communication device, 410 Acceptance unit, 420 Generation unit, 430 Output unit, 490 Storage unit, 500 Registration request device, 501 Processor, 502 Memory, 503 Auxiliary storage device, 504 Input / output interface, 505 Communication device, 510 Reception unit, 520 Generation unit, 520A Generation unit, 521 Aggregation condition generation unit, 522 Random number generation unit, 523 Ciphertext generation unit, 523A Ciphertext generation unit, 524 Keyword generation unit, 525 Encrypted tag generation unit, 525A Encrypted tag generation unit, 526 Attribute element generation unit, 530 Request unit, 590 Storage unit, 600 Search request device, 601 Processor, 602 Memory, 603 Auxiliary storage device, 604 Input / output interface, 605 Communication device, 610 Reception unit, 620 Generation unit, 620A Generation unit, 630 Request unit, 640 Decryption unit, 640A Decryption unit, 650 Output unit, 660 Narrowing unit, 690 Storage unit, 700 Data management device, 701 processor, 702 memory, 703 auxiliary storage device, 704 input / output interface, 705 communication device, 710 reception unit, 720 registration unit, 730 search unit, 740 output unit, 750 narrowing unit, 790 storage unit.

Claims

1. an aggregation condition generating unit that generates an aggregate attribute condition by adding a higher-level attribute condition including at least one of a plurality of attribute conditions indicating attributes for which a ciphertext can be searched to the plurality of attribute conditions; an encrypted tag generation unit that generates an encrypted tag indicating a search condition in which attribute conditions included in the aggregate attribute condition generated by the aggregate condition generation unit are connected by a logical operator OR, for realizing a search of the ciphertext; A registration request device comprising:

2. the encrypted tag generation unit sets each of the attribute conditions included in the aggregate attribute condition as a target attribute condition, sets each of one or more keywords for searching the ciphertext as a target keyword, and generates the encrypted tag including a tag element encrypted by setting the target attribute condition and the target keyword. The registration request device according to claim 1 .

3. The encrypted tag generating unit generates the encrypted tag including an exclusive OR between a bit string encrypted by setting the attribute condition of the target and a keyword of the target and a random number R. The registration request device according to claim 2.

4. The encrypted tag generator generates the encrypted tag including a tag verification value obtained by executing a one-way function using the random number R as an input. The registration request device according to claim 3.

5. The encrypted tag generating unit generates an encrypted tag attribute including an encrypted attribute condition that is encrypted by setting the target attribute condition without setting the keyword, with each attribute condition included in the aggregate attribute condition being a target attribute condition. The registration request device according to claim 2.

6. The registration request device further includes: a ciphertext generation unit that generates the ciphertext by encrypting plaintext data after setting a decryption condition in which attribute conditions included in the aggregate attribute condition are connected by a logical operator OR; The registration request device according to claim 1 .

7. a search request device which requests a search from a data management device which stores encrypted tags for realizing a search of a plurality of ciphertexts in association with the target ciphertexts, the encrypted tags indicating search conditions being each of a plurality of attribute conditions indicating attributes by which the target ciphertexts can be searched and a higher-level attribute condition including at least any of the plurality of attribute conditions connected by a logical operator OR, the search request device being configured to associate the encrypted tags with the target ciphertexts and a request unit that transmits to the data management device an encrypted search query in which attribute information indicating an attribute of a searcher is set, and requests, from among the plurality of ciphertexts, a ciphertext whose attribute information satisfies the search condition indicated by the associated encrypted tag; A search request device comprising:

8. a reception unit that receives an encrypted search query having attribute information indicating attributes of a searcher set therein; a search unit that searches a storage device that stores encrypted tags for realizing a search for a ciphertext in association with the target ciphertexts, the encrypted tags indicating search conditions in which each of a plurality of ciphertexts is treated as a target ciphertext and a higher-level attribute condition including at least any of the plurality of attribute conditions is connected by a logical operator OR, and searches for ciphertexts that satisfy the search conditions indicated by the encrypted tags, the attribute information set in the search query accepted by the acceptance unit; A data management device comprising:

9. A confidential search system including a registration request device, a search request device, and a data management device, The registration request device, an aggregation condition generating unit that generates an aggregate attribute condition by adding a higher-level attribute condition including at least one of a plurality of attribute conditions indicating attributes for which the target ciphertext can be searched to each of the plurality of ciphertexts as a target ciphertext, to the plurality of attribute conditions; an encrypted tag generation unit that generates an encrypted tag indicating a search condition in which attribute conditions included in the aggregate attribute condition generated by the aggregate condition generation unit are connected by a logical operator OR, for realizing a search of the ciphertext; Equipped with The search request device, a request unit that transmits to the data management device an encrypted search query in which attribute information indicating an attribute of a searcher is set, and requests, from among the plurality of ciphertexts, a ciphertext whose attribute information satisfies the search condition indicated by the associated encrypted tag; Equipped with The data management device includes: a reception unit that receives the search query transmitted by the request unit; a search unit that searches a storage device that stores the encrypted tag generated by the encrypted tag generation unit for the target ciphertext in association with the target ciphertext for a ciphertext that satisfies the search condition indicated by the encrypted tag, and the attribute information set in the search query accepted by the acceptance unit; A confidential search system comprising:

10. the computer generates an aggregate attribute condition by adding a higher-level attribute condition including at least one of a plurality of attribute conditions indicating attributes for which the ciphertext can be searched to the plurality of attribute conditions; A registration request method in which a computer generates an encrypted tag indicating a search condition in which attribute conditions included in the aggregate attribute condition are connected by a logical operator OR, the encrypted tag being for enabling a search of the ciphertext.

11. an aggregation condition generation process for generating an aggregate attribute condition by adding a higher-level attribute condition including at least one of a plurality of attribute conditions indicating attributes for which the ciphertext can be searched to the plurality of attribute conditions; an encrypted tag generation process for generating an encrypted tag indicating a search condition in which attribute conditions included in the aggregate attribute condition generated by the aggregate condition generation process are connected by a logical operator OR, for realizing a search of the ciphertext; A registration request program that causes a computer to function as a registration request device that performs the above.

12. a search request method for requesting a search from a data management device that stores encrypted tags for realizing a search of a plurality of ciphertexts in association with the target ciphertexts, the encrypted tags indicating search conditions being each of a plurality of attribute conditions indicating attributes by which the target ciphertexts can be searched and a higher-level attribute condition including at least any of the plurality of attribute conditions connected by a logical operator OR, the method comprising: A search request method in which a computer sends an encrypted search query to the data management device, the search query being set with attribute information indicating the attributes of a searcher, and requests, from among the multiple ciphertexts, a ciphertext whose attribute information satisfies the search condition indicated by the associated encrypted tag.

13. a search request program for requesting a search from a data management device that stores encrypted tags for implementing a search of a plurality of ciphertexts in association with the target ciphertexts, the encrypted tags indicating search conditions being each of a plurality of attribute conditions indicating attributes by which the target ciphertexts can be searched and a higher-level attribute condition including at least any of the plurality of attribute conditions connected by a logical operator OR, the program being configured to associate each of the encrypted tags with the target ciphertexts; A request process for transmitting an encrypted search query in which attribute information indicating an attribute of a searcher is set to the data management device, and requesting, from among the plurality of ciphertexts, a ciphertext whose attribute information satisfies the search condition indicated by the associated encrypted tag. A search request program that causes a computer to function as a search request device that performs the above steps.

14. The computer receives an encrypted search query containing attribute information indicating the attributes of the searcher, A data management method in which a computer treats each of a plurality of ciphertexts as target ciphertexts, and searches for ciphertexts whose attribute information set in the search query satisfies the search condition indicated by the encrypted tag from a storage device that stores encrypted tags for realizing a search of the ciphertexts in correspondence with the target ciphertexts, the encrypted tags indicating search conditions in which each of a plurality of attribute conditions indicating attributes for which the target ciphertexts can be searched and a higher-level attribute condition that includes at least any of the plurality of attribute conditions are connected by the logical operator OR, the encrypted tags being associated with the target ciphertexts.

15. An acceptance process for accepting an encrypted search query in which attribute information indicating the attributes of a searcher is set; a search process for searching, from a storage device storing encrypted tags for realizing a search for a ciphertext in association with the target ciphertexts, for ciphertexts that satisfy the search condition indicated by the encrypted tags, the search condition being formed by connecting a logical operator OR between a plurality of attribute conditions indicating attributes for which the target ciphertexts can be searched and a higher-level attribute condition including at least any of the plurality of attribute conditions, with each of the plurality of ciphertexts being treated as a target ciphertext; A data management program that causes a computer to function as a data management device that performs the above steps.

Citation Information

Patent Citations

  • Key generator, intermediate encryption device, consignment encryption device, data retrieval device, decryption device, and programs therefor

    JP2018148493A

  • Multi-user searchable encryption system and method with index validation and tracing

    US20130148803A1

  • Genetic information storage device, genetic information search device, genetic information storage program, genetic information search program, genetic information storage method, genetic information search method, and genetic information search system

    WO2014156400A1

  • Registration device, search operation device, data management device, registration program, search operation program, and data management program

    WO2019142268A1

  • Registration device, search operation device, data management device, registration program, search operation program, and data management program

    WO2019142651A1