RE-ENCRYPTION KEY GENERATION DEVICE, RE-ENCRYPTION DEVICE, RE-ENCRYPTED CIPHERTEXT DECRYPTION DEVICE, AND CRYPTOGRAPHIC SYSTEM

Information

  • Patent Application
  • 20210126782
  • Publication Number
    20210126782
  • Date Filed
    June 09, 2017
    7 years ago
  • Date Published
    April 29, 2021
    3 years ago
Abstract
A key generation device generates a decryption key dkx having a tag-added decryption key and a decryption key adkx. The tag-added decryption key includes a decryption key tdkx in which a key attribute x is set and a tag tgφ required to decrypt a ciphertext with the decryption key tdkx. In the decryption key adkx, the key attribute x is set. An encryption device generates an original ciphertext octy in which a ciphertext attribute y corresponding to the key attribute x is set and which can be decrypted with the tag-added decryption key. A re-encryption key generation device encrypts the decryption key tdkx by an attribute-based encryption scheme using a ciphertext attribute y′, so as to generate a re-encryption key rkx,y′ which is a key for generating a re-encrypted ciphertext rcty′ which can be decrypted with a decryption key adkx′ in which a key attribute x′ corresponding to the ciphertext attribute y′ is set.
Description
TECHNICAL FIELD

The present invention relates to proxy-re-encryption.


BACKGROUND ART

An attribute-based proxy-re-encryption scheme is a scheme in which decryption authority for a ciphertext can be changed without decrypting the ciphertext. In an attribute-based encryption scheme, a key attribute x is set in a decryption key, and a ciphertext attribute y is set in a ciphertext. In the attribute-based encryption scheme, the ciphertext can be decrypted only when the key attribute x and the ciphertext attribute y satisfy a relation R(x, y)=1. In the attribute-based proxy-re-encryption scheme, by using a re-encryption key, a ciphertext attribute y that is set in a ciphertext can be changed to a different ciphertext attribute y′ without decrypting the ciphertext.


Patent Literature 1 and Non-Patent Literature 1 provide descriptions related to attribute-based proxy-re-encryption schemes.


CITATION LIST
Patent Literature



  • Patent Literature 1: WO 2014/112048 A1



Non-Patent Literature



  • Non-Patent Literature 1: Yutaka Kawai and Katsuyuki Takashima, Fully-Anonymous Functional Proxy-Re-Encryption. Cryptology ePrint Archive: Report 2013/318



SUMMARY OF INVENTION
Technical Problem

In the attribute-based proxy-re-encryption schemes described in Patent Literature 1 and Non-Patent Literature 1, a random matrix is included in a re-encrypted ciphertext, so that the size of the re-encrypted ciphertext increases.


It is an object of the present invention to make it possible to realize an attribute-based proxy-re-encryption scheme in which an increase in the size of a ciphertext entailed in re-encryption is reduced.


Solution to Problem

A re-encryption key generation device according to the present invention includes:

    • a randomization unit to set a random number in a decryption key tdkx in which a key attribute x is set and set a random number in a tag tgφ used to decrypt a ciphertext with the decryption key tdkx, so as to generate a decryption key tdkx{circumflex over ( )} and a tag tgφ{circumflex over ( )};
    • an encryption key generation unit to encrypt the decryption key tdkx{circumflex over ( )} generated by the randomization unit by an attribute-based encryption scheme using a ciphertext attribute y′, so as to generate an encryption key acty; and
    • a re-encryption key output unit to output a re-encryption key rkx,y′ including the encryption key acty′ generated by the encryption key generation unit and the tag tgφ{circumflex over ( )} generated by the randomization unit.


Advantageous Effects of Invention

In the present invention, a decryption key of tag-added attribute-based encryption is encrypted using attribute-based encryption to generate a re-encryption key. This eliminates the need to include a random matrix in a re-encrypted ciphertext, so that an increase in the size of a ciphertext entailed in re-encryption can be reduced.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a configuration diagram of a cryptographic system 1 according to a first embodiment;



FIG. 2 is a configuration diagram of a key generation device 10 according to the first embodiment;



FIG. 3 is a configuration diagram of an encryption device 20 according to the first embodiment;



FIG. 4 is a configuration diagram of an original ciphertext decryption device 30 according to the first embodiment;



FIG. 5 is a configuration diagram of a re-encryption key generation device 40 according to the first embodiment;



FIG. 6 is a configuration diagram of a re-encryption device 50 according to the first embodiment;



FIG. 7 is a configuration diagram of a re-encrypted ciphertext decryption device 60 according to the first embodiment;



FIG. 8 is a flowchart of a Setup algorithm according to the first embodiment;



FIG. 9 is a flowchart of a KG algorithm according to the first embodiment;



FIG. 10 is a flowchart of an Enc algorithm according to the first embodiment;



FIG. 11 is a flowchart of an ODec algorithm according to the first embodiment;



FIG. 12 is a flowchart of an RKG algorithm according to the first embodiment;



FIG. 13 is a flowchart of an REnc algorithm according to the first embodiment;



FIG. 14 is a flowchart of an RDec algorithm according to the first embodiment;



FIG. 15 is a configuration diagram of a key generation device 10 according to a first variation;



FIG. 16 is a configuration diagram of an encryption device 20 according to the first variation;



FIG. 17 is a configuration diagram of an original ciphertext decryption device 30 according to the first variation;



FIG. 18 is a configuration diagram of a re-encryption key generation device 40 according to the first variation;



FIG. 19 is a configuration diagram of a re-encryption device 50 according to the first variation; and



FIG. 20 is a configuration diagram of a re-encrypted ciphertext decryption device 60 according to the first variation.





DESCRIPTION OF EMBODIMENTS
First Embodiment

***Description of Notations***


Notations in the following description will be described.


When A is a random variable or distribution, Formula 101 denotes that y is randomly selected from A according to the distribution of A. That is, y is a random number in Formula 101.









y



R


A




[

Formula





101

]







When A is a set, Formula 102 denotes that y is uniformly selected from A. That is, y is a uniform random number in Formula 102.









y



U


A




[

Formula





102

]







Formula 103 denotes that y is a set defined by z, or y is a set substituted by z.






y:=z   [Formula 103]


When a is a constant, Formula 104 denotes that a machine (algorithm) A outputs a on input x.






A(x)→a   [Formula 104]





for example,






A(x)→1


Formula 105, that is Fq, denotes a finite field of order q.






custom-character
q   [Formula 105]


A vector representation denotes a vector representation in the finite field Fq. That is, it is as indicated in Formula 106.






{right arrow over (x)} denotes





(x1, . . . ,xncustom-characterqn   [Formula 106]


Formula 107 denotes the inner-product, indicated in Formula 109, of two vectors x and v indicated in Formula 108.






{right arrow over (x)}·{right arrow over (v)}   [Formula 107]






x=(x1, . . . ,xn),






v=(v1, . . . ,vn)   [Formula 108]





Σi=lnxivi


[Formula 109]

Note that XT denotes the transpose of a matrix X.


For a basis B and a basis B* indicated in Formula 110, Formula 111 is established.






custom-character:=(b1, . . . ,bN),






custom-character*:=(b*1, . . . ,b*N)   [Formula 110]





(xl, . . . ,xNcustom-character:=Σi=lNxibi,





(yl, . . . ,yNcustom-character:=Σi=lNyibi*


[Formula 111]

Note that ej denotes a normal basis vector indicated in Formula 112.













e


j

:


(




0

⋯0




j
-
1


,
1
,



0

⋯0




n
-
j



)




𝔽
q
n






for





j



=
1

,

,
n
,




[

Formula





112

]







***Description of Spaces***


Spaces used in the following description will be described.


Symmetric bilinear pairing groups will be described.


Symmetric bilinear pairing groups (q, G, GT, g, e) are a tuple of a prime q, a cyclic additive group G of order q, a cyclic multiplicative group GT of order q, g≠0ϵG, and a polynomial-time computable nondegenerate bilinear pairing e:G×G→GT. The nondegenerate bilinear pairing signifies e(sg, tg)=e(g, g)st, and e(g, g)≠1.


In the following description, let Gbpg be an algorithm that takes as input 1λ, and outputs values of a parameter paramG:=(q, G, GT, g, e) of bilinear pairing groups with a security parameter λ.


Dual pairing vector spaces will be described.


Dual pairing vector spaces (q, V, GT, A, e) can be constructed by a direct product of the symmetric bilinear pairing groups (paramG:=(q, G, GT, g, e)). The dual pairing vector spaces (q, V, GT, A, e) are a tuple of a prime q, an N-dimensional vector space V over Fq indicated in Formula 113, a cyclic group GT of order q, and a canonical basis A:=(a1, . . . , aN) of the space V, and have the following operations (1) and (2), where a, is as indicated in Formula 114.









𝕍



:


𝔾
×

×
𝔾




N





[

Formula





113

]







a
i

:=

(




0
,

,
0




i
-
1


,
g
,



0
,

,
0




N
-
1



)





[

Formula





114

]







Operation (1): Nondegenerate Bilinear Pairing


A pairing on the space V is defined by Formula 115.






e(x,y):=ΠNi=1Ne(Gi,Hicustom-characterT   [Formula 115]





where





(G1, . . . ,GN):=custom-character,





(H1, . . . ,HN):=custom-character


This is nondegenerate bilinear, that is, e(sx, ty)=e(x, y)st and if e(x, y)=1 for all yϵV, then x=0. For all i and j, e(ai, aj)=e(g, g)δi,j where δi,j=1 if i=j, and δi,j=0 if i≠j, and e(g, g)≠1ϵGT.


Operation (2): Distortion Maps


Linear transformations φi,j on the space V indicated in Formula 116 can achieve Formula 117.











If







ϕ

i
,
j




(

a
j

)



=



a
i






and





k


j


,


then







ϕ

i
,
j




(

a
k

)



=
0.












ϕ

i
,
j




(
x
)


=

(




0
,

,
0




i
-
1


,
g
,



0
,

,
0




N
-
1



)









where











(


g
1

,

,

g
N


)

:=

x
.













The linear transformations φi,j will be called distortion maps.


In the following description, let Gdpvs be an algorithm that takes as input 1λ and the number of dimensions Nt of the space V, and outputs values of a parameter paramv:=(q, V, GT, A, e) of dual pairing vector spaces with a security parameter λ.


***Description of Configurations***


A configuration of a cryptographic system 1 according to a first embodiment will be described with reference to FIG. 1.


The cryptographic system 1 includes a key generation device 10, an encryption device 20, an original ciphertext decryption device 30, a re-encryption key generation device 40, a re-encryption device 50, and a re-encrypted ciphertext decryption device 60.


The key generation device 10, the encryption device 20, the original ciphertext decryption device 30, the re-encryption key generation device 40, the re-encryption device 50, and the re-encrypted ciphertext decryption device 60 are connected via transmission lines.


A configuration of the key generation device 10 according to the first embodiment will be described with reference to FIG. 2.


The key generation device 10 is a computer.


The key generation device 10 includes hardware of a processor 11, a memory 12, a storage 13, and a communication interface 14. The processor 11 is connected with other hardware components via signal lines and controls these other hardware components.


The key generation device 10 includes, as functional components, an information acceptance unit 111, a master key generation unit 112, a decryption key generation unit 113, and a key output unit 114. The functions of the functional components of the key generation device 10 are realized by software.


The storage 13 stores programs for realizing the functions of the functional components of the key generation device 10. These programs are loaded into the memory 12 by the processor 11 and executed by the processor 11. This realizes the functions of the functional components of the key generation device 10.


A configuration of the encryption device 20 according to the first embodiment will be described with reference to FIG. 3.


The encryption device 20 is a computer.


The encryption device 20 includes hardware of a processor 21, a memory 22, a storage 23, and a communication interface 24. The processor 21 is connected with other hardware components via signal lines and controls these other hardware components.


The encryption device 20 includes, as functional components, a public parameter acquisition unit 211, an information acceptance unit 212, an encryption unit 213, and a ciphertext output unit 214. The functions of the functional components of the encryption device 20 are realized by software.


The storage 23 stores programs for realizing the functions of the functional components of the encryption device 20. These programs are loaded into the memory 22 by the processor 21 and executed by the processor 21. This realizes the functions of the functional components of the encryption device 20.


A configuration of the original ciphertext decryption device 30 according to the first embodiment will be described with reference to FIG. 4.


The original ciphertext decryption device 30 is a computer.


The original ciphertext decryption device 30 includes hardware of a processor 31, a memory 32, a storage 33, and a communication interface 34. The processor 31 is connected with other hardware components via signal lines and controls these other hardware components.


The original ciphertext decryption device 30 includes, as functional components, a decryption key acquisition unit 311, a ciphertext acquisition unit 312, and a decryption unit 313. The functions of the functional components of the original ciphertext decryption device 30 are realized by software.


The storage 33 stores programs for realizing the functions of the functional components of the original ciphertext decryption device 30. These programs are loaded into the memory 32 by the processor 31 and executed by the processor 31. This realizes the functions of the functional components of the original ciphertext decryption device 30.


A configuration of the re-encryption key generation device 40 according to the first embodiment will be described with reference to FIG. 5.


The re-encryption key generation device 40 is a computer.


The re-encryption key generation device 40 includes hardware of a processor 41, a memory 42, a storage 43, and a communication interface 44. The processor 41 is connected with other hardware components via signal lines and controls these other hardware components.


The re-encryption key generation device 40 includes, as functional components, a decryption key acquisition unit 411, an information acceptance unit 412, a randomization unit 413, an encryption key generation unit 414, and a re-encryption key output unit 415. The functions of the functional components of the re-encryption key generation device 40 are realized by software.


The storage 43 stores programs for realizing the functions of the functional components of the re-encryption key generation device 40. These programs are loaded into the memory 42 by the processor 41 and executed by the processor 41. This realizes the functions of the functional components of the re-encryption key generation device 40.


A configuration of the re-encryption device 50 according to the first embodiment will be described with reference to FIG. 6.


The re-encryption device 50 is a computer.


The re-encryption device 50 includes hardware of a processor 51, a memory 52, a storage 53, and a communication interface 54. The processor 51 is connected with other hardware components via signal lines and controls these other hardware components.


The re-encryption device 50 includes, as functional components, a public parameter acquisition unit 511, a ciphertext acquisition unit 512, a re-encryption key acquisition unit 513, a verification unit 514, a decryption tag generation unit 515, a re-encryption unit 516, and a re-encrypted ciphertext output unit 517. The functions of the functional components of the re-encryption device 50 are realized by software.


The storage 53 stores programs for realizing the functions of the functional components of the re-encryption device 50. These programs are loaded into the memory 52 by the processor 51 and executed by the processor 51. This realizes the functions of the functional components of the re-encryption device 50.


A configuration of the re-encrypted ciphertext decryption device 60 according to the first embodiment will be described with reference to FIG. 7.


The re-encrypted ciphertext decryption device 60 is a computer.


The re-encrypted ciphertext decryption device 60 includes hardware of a processor 61, a memory 62, a storage 63, and a communication interface 64. The processor 61 is connected with other hardware components via signal lines and controls these other hardware components.


The re-encrypted ciphertext decryption device 60 includes, as functional components, a decryption key acquisition unit 611, a re-encrypted ciphertext acquisition unit 612, a first decryption unit 613, a second decryption unit 614, and a third decryption unit 615. The functions of the functional components of the re-encrypted ciphertext decryption device 60 are realized by software.


The storage 63 stores programs for realizing the functions of the functional components of the re-encrypted ciphertext decryption device 60. These programs are loaded into the memory 62 by the processor 61 and executed by the processor 61. This realizes the functions of the functional components of the re-encrypted ciphertext decryption device 60.


It has been described above that each of the encryption device 20, the original ciphertext decryption device 30, the re-encryption key generation device 40, the re-encryption device 50, and the re-encrypted ciphertext decryption device 60 is a separate device.


However, the cryptographic system 1 may include a device that has the functions of two or more of the encryption device 20, the original ciphertext decryption device 30, the re-encryption key generation device 40, the re-encryption device 50, and the re-encrypted ciphertext decryption device 60. For example, the cryptographic system 1 may include a plurality of devices, each having the functions of the encryption device 20, the original ciphertext decryption device 30, the re-encryption key generation device 40, and the re-encrypted ciphertext decryption device 60.


***Description of Operation*** Operation of the cryptographic system 1 according to the first embodiment will be described with reference to FIGS. 8 to 14.


The operation of the cryptographic system 1 according to the first embodiment corresponds to a cryptographic method according to the first embodiment. The operation of the cryptographic system 1 according to the first embodiment also corresponds to processes of a cryptographic program.


The cryptographic system 1 according to the first embodiment realizes an attribute-based proxy-re-encryption scheme. The attribute-based proxy-re-encryption scheme realized by the cryptographic system 1 according to the first embodiment includes seven algorithms: Setup, KG, Enc, ODec, RKG, REnc, and RDec.


The Setup algorithm according to the first embodiment will be described with reference to FIG. 8.


The Setup algorithm is executed by the key generation device 10. The Setup algorithm is a probabilistic algorithm that takes as input a security parameter λ and an attribute format Λ, and outputs a public parameter pp and a master key mk.


(Step S11: Information Acceptance Process)


The information acceptance unit 111 accepts input of a security parameter λ and an attribute format Λ. Specifically, the information acceptance unit 111 accepts the security parameter λ and the attribute format A that are input through operation of an input device by an administrator of the key generation device 10.


(Step S12: Tag-Added Master Key Generation Process)


The master key generation unit 112 executes a TSetup algorithm indicated in Formula 118, taking as input the security parameter X and the attribute format A that are accepted in step S11, so as to generate a parameter tpp and a key tmk.
















TSetup


(


1
λ

,


)


:










(

param
,

(


𝔹
0

,

𝔹
0
*


)

,

(


𝔹
1

,

𝔹
1
*


)

,

(


𝔹
2

,

𝔹
2
*


)


)












R




G
ob



(


1
λ

,


N
0

=
5

,


N
1

=

4

n


,


N
2

=
8


)




,











𝔹
^

0

=

(


b

0
,
1


,

b

0
,
2


,

b

0
,
5



)


,











𝔹
^

1

=

(


b

1
,
1


,

,

b

1
,
n


,

b

1
,


3

n

+
1



,

,

b

1
,

4

n




)


,











𝔹
^

2

=

(


b

2
,
1


,

b

2
,
2


,

b

2
,
7


,

b

2
,
8



)


,











𝔹
^

0
*

=

(


b

0
,
2

*

,

b

0
,
4

*


)


,











𝔹
^

1
*

=

(


b

1
,
1

*

,

,

b

1
,
n

*

,

b

1
,


2

n

+
1


*

,

,

b

1
,

3

n


*


)


,











𝔹
^

2
*

=

(


b

2
,
1

*

,

b

2
,
2

*

,

b

2
,
5

*

,

b

2
,
6

*


)


,






return






t
pp


=

(

param
,



{



𝔹
^

i

,


𝔹
^

i
*


}


i

=
0

,
1
,
2

)


,

tmk
=


b

0
,
1

*

.







[

Formula





118

]







Note that an algorithm Gob is as indicated in Formula 119.













G

o

b




(


1
λ

,

N



)


:





param
G


=


(

q
,
𝔾
,

𝔾
T

,
g
,
e

)




R




G

b

p

g




(

1
λ

)




,





ψ


F
q
×


,






g
T

=


e


(

g
,
g

)


ψ


,







for





t




N


:





param

V
t




=






(

q
,
𝕍
,

𝔾
t

,

𝔸
t

,
e

)




R




G

d

p

v

s




(


1
λ

,

N
t


)




,






X
t

=


(





ϰ



t
,
1













ϰ



t
,

N
t






)

:=



(

ϰ

t
,
i
,
j


)


i
,
j





U



GL


(


N
t

,

𝔽
q


)





,






(





v



t
,
1













v



t
,

N
t






)

:=



(

v

t
,
i
,
j


)


i
,
j


:=

ψ
·


(

X
j
T

)


-
1





,






b

t
,
i


:=




j
=
1


N
t





ϰ

t
,
i
,
j




a

t
,
j





,


𝔹
t

:=

(


b

t
,
1


,





,

b

t
,

N
t




)


,






b

t
,
i

*

:=




j
=
1


N
t





v

t
,
i
,
j




a

t
,
j





,


𝔹
t
*

:=

(


b

t
,
1

*

,





,

b

t
,

N
t


*


)


,





param
:=

(


g
T

,


{

param

V
t


}


t


N





)


,






return


(

param
,


{


𝔹
t

,

𝔹
t
*


}


t


N





)


.





[

Formula





119

]







(Step S13: Tagless Master Key Generation Process)


The master key generation unit 112 executes an ASetup algorithm indicated in Formula 120, taking as input the security parameter λ, and the attribute format Λ that are accepted in step S11, so as to generate a parameter app and a key amk.















ASetup


(


1
λ

,
Λ

)


:









(

param
,


(


𝔹
3

,

𝔹
3
*


)




R




G

o

b




(


1
λ

,


N
3

=


3

n

+
2



)



,











𝔹
^

3

=

(


b

3
,
1


,





,

b

3
,

n
+
1



,

b

3
,


3

n

+
2




)


,







𝔹
^

3
*

=

(


b

3
,
2

*

,





,

b

3
,

n
+
1


*

,

b

3
,


2

n

+
2


*

,





,

b

3
,


3

n

+
1


*


)


,










return





app

=

(

param
,


𝔹
^

3

,


𝔹
^

3
*


)


,

amk
=


b

3
,
1

*

.









[

Formula





120

]







(Step S14: Master Key Output Process)


The key output unit 114 makes public, as a public parameter pp, the security parameter X input in step S11, the parameter tpp generated in step S12, and the parameter app generated in step S13 by, for example, transmitting them to other devices via the communication interface 14. The key output unit 114 writes the public parameter pp in the storage 13. The key output unit 114 writes, as a master key mk, the key tmk generated in step S12 and the key amk generated in step S13 in the storage 13.


The KG algorithm according to the first embodiment will be described with reference to FIG. 9.


The KG algorithm is executed by the key generation device 10. The KG algorithm is a probabilistic algorithm that takes as input the public parameter pp, the master key mk, and a key attribute x, and outputs a decryption key dkx.


(Step S21: Information Acceptance Process)


The information acceptance unit 111 reads the public parameter pp and the master key mk from the storage 13.


The information acceptance unit 111 accepts input of a key attribute x. Specifically, the information acceptance unit 111 accepts the key attribute x that is input through operation of the input device by the administrator of the key generation device 10.


The key attribute x is an attribute of a user who uses a decryption key dkx to be described later. As a specific example, the key attribute x is information such as a department to which the user who uses the decryption key dkx belongs and a position in a company or the like of the user. The key attribute x is assumed here to be an attribute of a user of the original ciphertext decryption device 30. The key attribute x is assumed to be an n-dimensional vector.


(Step S22: Tag-Added Decryption Key Generation Process)


The decryption key generation unit 113 executes a TKG algorithm indicated in Formula 121, taking as input the parameter tpp, the key tmk, and the key attribute x, so as to generate a tag-added decryption key including a decryption key tdkx and a tag tgφ. The tag tgφ is information used to decrypt a ciphertext with the decryption key tdkx.











TKG


(

tpp
,
tmk
,
x

)


:





s
1


,

s
2

,

δ
1

,


η
0




U



𝔽
q


,







η


1




U



𝔽
q
n


,



η


2




U



𝔽
q
2


,






s
0

=


s
1

+

s
2



,






k
0
*

=


(

1
,

-

s
0


,
0
,

η
0

,
0

)


𝔹
0
*



,






k
1
*

=


(




s
1




e


1


+


δ
1


x


,

0
n

,


η


1

,

0
n


)


𝔹
1
*



,






k
2
*

=


(


s
2

,

0
3

,


η


2

,

0
2


)


𝔹
2
*



,






return






tdk
x


=

(

x
,

k
0
*

,

k
1
*


)


,


tg
ϕ

=


k
2
*

.






[

Formula





121

]







(Step S23: Tagless Decryption Key Generation Process)


The decryption key generation unit 113 executes an AKG algorithm indicated in Formula 122, taking as input the parameter app, the key amk, and the key attribute x, so as to generate a decryption key adkx.











AKG


(

app
,
amk
,
x

)


:






s
3




U



𝔽
q



,



η


3




U



𝔽
q
n


,






k
3
*

=


(

1
,


-

s
3



x

,

0
n

,


η


3

,
0

)


𝔹
3
*



,






return






adk
x


=


(

x
,

k
3
*


)

.






[

Formula





122

]







(Step S24: Decryption Key Output Process)


The key output unit 114 outputs, as the decryption key dkx, the key attribute x, the tag-added decryption key including the decryption key tdkx and the tag tgφ generated in step S22, and the decryption key adkx generated in step S23 to the original ciphertext decryption device 30 and the re-encryption key generation device 40 in secrecy via the communication interface 14.


To output in secrecy means to transmit after encryption by an existing encryption scheme so as to be concealed from others.


The key generation device 10 generates a decryption key dkx′ based on a key attribute x′ which is an attribute of a user of the re-encrypted ciphertext decryption device 60. The key attribute x′ is assumed here to be an n-dimensional vector.


Specifically, in step S21, the information acceptance unit 111 accepts input of the key attribute x′. In step S22, the decryption key generation unit 113 generates a tag-added decryption key including a decryption key tdkx′ and a tag tgφ′, taking as input the parameter tpp, the key tmk, and the key attribute x′. In step S23, the decryption key generation unit 113 generates a decryption key adkx′, taking as input the parameter app, the key amk, and the key attribute x′. In step S24, the decryption key generation unit 113 outputs, as the decryption key dkx′, the key attribute x′, the tag-added decryption key including the decryption key tdkx′ and the tag tgφ′, and the decryption key adkx′ to the re-encrypted ciphertext decryption device 60 in secrecy.


The Enc algorithm according to the first embodiment will be described with reference to FIG. 10.


The Enc algorithm is executed by the encryption device 20. The Enc algorithm is a probabilistic algorithm that takes as input the public parameter pp, a ciphertext attribute y, and a message m, and outputs an original ciphertext octy.


(Step S31: Public Parameter Acquisition Process)


The public parameter acquisition unit 211 acquires, via the communication interface 24, the public parameter pp that is made public by the key generation device 10.


(Step S32: Information Acceptance Process)


The information acceptance unit 212 accepts input of a ciphertext attribute y and a message m. Specifically, the information acceptance unit 212 accepts the ciphertext attribute y and the message m that are input through operation of an input device by a user of the encryption device 20.


The ciphertext attribute y indicates an attribute that is allowed to decrypt the original ciphertext octy. The ciphertext attribute y is assumed here to correspond to the key attribute x. That is, it is assumed that the original ciphertext octy generated based on the ciphertext attribute y can be decrypted with the decryption key dkx in which the key attribute x is set. The ciphertext attribute y is assumed here to be an n-dimensional vector.


The message m is data to be transmitted to a destination.


(Step S33: Signature Key Generation Process)


The encryption unit 213 executes a key generation algorithm for one-time signatures, taking as input the security parameter λ, so as to generate a signature key sk and a verification key vk for a one-time signature. As the key generation algorithm for one-time signatures, an existing algorithm may be employed.


(Step S34: Ciphertext Element Generation Process)


The encryption unit 213 executes a TEnc algorithm indicated in Formula 123, taking as input the parameter tpp, the ciphertext attribute y, the verification key vk, and the message m, so as to generate an element tcty,vk.











TEnc


(

tpp
,
y
,
vk
,
m

)


:




ω

,
ζ
,


φ
0




U



𝔽
q


,



φ


1




U



𝔽
q
n


,



φ


2




U



𝔽
q
2


,






c
0

=


(

ζ
,
ω
,
0
,
0
,

φ
0


)


𝔹
0



,






c
1

=


(


ω

y

,

0

2

n


,


φ


1


)


𝔹
1



,






c
2

=


(


ω


(

1
,
vk

)


,

0
4

,


φ


2


)


𝔹
2



,






c
T

=

m
·

g
T
ζ



,






return






tct

y
,

v

k




=


(

y
,

c
0

,

c
1

,

c
2

,

c
T


)

.






[

Formula





123

]







That is, the encryption unit 213 encrypts the message m by tag-added attribute-based encryption, so as to generate the element tcty,vk. At this time, the encryption unit 213 sets the verification key vk in a portion of the element tcty,vk.


(Step S35: Signature Generation Process)


The encryption unit 213 executes a signature algorithm for one-time signatures, taking as input the signature key sk, the ciphertext attribute y, and the element tcty,vk, so as to generate a signature σ. As the signature algorithm for one-time signatures, an existing algorithm may be employed.


(Step S36: Ciphertext Output Process)


The ciphertext output unit 214 outputs, as an original ciphertext octy, the ciphertext attribute y, the verification key vk generated in step S33, the element tcty,vk generated in step S34, and the signature a generated in step S35 to the original ciphertext decryption device 30.


The ODec algorithm according to the first embodiment will be described with reference to FIG. 11.


The ODec algorithm is executed by the original ciphertext decryption device 30. The ODec algorithm is an algorithm that takes as input the public parameter pp, the decryption key dkx, and the original ciphertext octy, and outputs the message m.


(Step S41: Decryption Key Acquisition Process)


The decryption key acquisition unit 311 acquires, via the communication interface 34, the decryption key dkx and the public parameter pp that are generated by the key generation device 10.


(Step S42: Ciphertext Acquisition Process)


The ciphertext acquisition unit 312 acquires, via the communication interface 34, the original ciphertext octy generated by the encryption device 20.


(Step S43: Decryption Tag Generation Process)


The decryption unit 313 transforms the tag tgφ included in the decryption key dkx to generate a decryption tag tgvk.


Specifically, the decryption unit 313 executes a TTag algorithm indicated in Formula 124, taking as input the parameter tpp, the tag tgφ included in the decryption key dkx, and the verification key vk included in the original ciphertext octy, so as to generate the decryption tag tgvk.












TTag


(

tpp
,

tg
ϕ

,
vk

)


:





parse






tg
ϕ



=


k
2
*

=


(


s
2

,

0
3

,


η


2

,

0
2


)


𝔹
2
*




,






δ
2




U



𝔽
q


,






t


g

v

k



=


k
2

*
vk


=


tg
ϕ

+


(



δ
2



(


v

k

,

-
1


)


,

0
6


)


𝔹
2
*





,





return







tg

v

k


.






[

Formula





124

]







(Step S44: Decryption Process)


The decryption unit 313 decrypts the original ciphertext octy to obtain the message m.


Specifically, the decryption unit 313 executes a TDec algorithm indicated in Formula 125, taking as input the parameter tpp, the decryption key tdkx included in the decryption key dkx, the tag tgvk, and the element tcty,vk included in the original ciphertext octy, so as to generate the message m.






TDec(tpp,tdkx,tgvk,tcty,vk):





parse tdkx=(x,k*0,k*1),tgvk=k*2vk,






tct
y,vk=(y,c0,c1,c2,cT),






K=e(c0,k*0e(c1,k*1e(c2,k*2vk),





return m=cT/K.   [Formula 125]


The RKG algorithm according to the first embodiment will be described with reference to FIG. 12.


The RKG algorithm is executed by the re-encryption key generation device 40. The RKG algorithm is a probabilistic algorithm that takes as input the public parameter pp, the decryption key dkx, and the ciphertext attribute y′, and outputs a re-encryption key rkx,y′.


(Step S51: Decryption Key Acquisition Process)


The decryption key acquisition unit 411 acquires, via the communication interface 44, the decryption key dkx and the public parameter pp that are generated by the key generation device 10.


(Step S52: Information Acceptance Process)


The information acceptance unit 412 accepts input of a ciphertext attribute y′. Specifically, the information acceptance unit 412 accepts the ciphertext attribute y′ that is input through operation of the input device by the user of the encryption device 20.


The ciphertext attribute y′ indicates an attribute that is allowed to decrypt a re-encrypted ciphertext rcty′. The ciphertext attribute y′ is assumed here to correspond to the key attribute x′. That is, it is assumed that the re-encrypted ciphertext rcty′, generated based on the ciphertext attribute y′ can be decrypted with the decryption key dkx′ in which the key attribute x′ is set. The ciphertext attribute y′ is assumed here to be an n-dimensional vector.


(Step S53: Randomization Process)


The randomization unit 413 sets a random number individually in each of the decryption key tdkx and the tag tgφ that are included in the decryption key dkx, so as to generate a decryption key tdkx{circumflex over ( )} and a tag tgφ{circumflex over ( )}.


Specifically, the randomization unit 413 executes a TRand algorithm indicated in Formula 126, taking as input the parameter tpp, the decryption key tdkx, and the tag tgφ, so as to generate the decryption key tdkx{circumflex over ( )} and the tag tgφ{circumflex over ( )}.












TR





and






(

tpp
,

t

d


k
x


,

tg
ϕ


)


:





parse






tdk
x



=

(

x
,

k
0
*

,

k
1
*


)


,


tg
ϕ

=

k
2
*


,





s
1
^

,

s
2
^

,

δ
1
^

,


η
0
^




U



𝔽
q


,







η


1
^




U



𝔽
q
n


,



η


2
^




U



𝔽
q
2


,






s
0
^

=


s
1
^

+

s
2
^



,






k
0

*
^


=


k
0
*

+


(

0
,

-

s
0
^


,
0
,

η
0
^

,
0

)


𝔹
0
*




,






k
1

*
^


=


k
1
*

+


(




s
1
^




e


1


+


δ
1
^


x


,

0
n

,


η


1
^

,

0
n


)


𝔹
1
*




,






k
2

*
^


=


k
2
*

+


(


s
2
^

,

0
3

,


η


2
^

,

0
2


)


𝔹
2
*




,






return






tdk
x
^


=

(

x
,

k
0

*
^


,

k
1

*
^



)


,


tg
ϕ
^

=


k
2

*
^


.






[

Formula





126

]







(Step S54: Encryption Key Generation Process)


The encryption key generation unit 414 encrypts the decryption key tdkx{circumflex over ( )} by an attribute-based encryption scheme using the ciphertext attribute y′, so as to generate an encryption key acty′.


Specifically, the encryption key generation unit 414 executes an AEnc algorithm indicated in Formula 127, taking as input the parameter app, the ciphertext attribute y′, and the decryption key tdkx{circumflex over ( )}, so as to generate the encryption key acty′.











AEnc


(

app
,

y


,

td


k
x
^



)


:




ω

,
ζ
,


φ
0




U



𝔽
q


,






c
3

=


(

ζ
,

ω






y



,

0
n

,

0
n

,

φ
0


)


𝔹
3



,






c
T

=

t

d



k
x
^

·

g
T
ζ




,






return






act

y




=


(


y


,

c
3

,

c
T


)

.






[

Formula





127

]







(Step S55: Re-Encryption Key Output Process)


The re-encryption key output unit 415 outputs, as a re-encryption key rkx,y′, the key attribute x, the ciphertext attribute y′, the tag tgx{circumflex over ( )} generated in step S53, and the encryption key acty′ generated in step S54 to the re-encryption device 50 in secrecy.


The REnc algorithm according to the first embodiment will be described with reference to FIG. 13.


The REnc algorithm is executed by the re-encryption device 50. The REnc algorithm is a probabilistic algorithm that takes as input the public parameter pp, the re-encryption key rkx,y′, and the original ciphertext octy, and outputs a re-encrypted ciphertext rcty′.


(Step S61: Public Parameter Acquisition Process)


The public parameter acquisition unit 511 acquires, via the communication interface 54, the public parameter pp that is made public by the key generation device 10.


(Step S62: Ciphertext Acquisition Process)


The ciphertext acquisition unit 512 acquires, via the communication interface 54, the original ciphertext octy generated by the encryption device 20.


(Step S63: Re-Encryption Key Acquisition Process)


The re-encryption key acquisition unit 513 acquires, via the communication interface 54, the re-encryption key rkx,y′ generated by the re-encryption key generation device 40.


(Step S64: Relation Verification Process)


The verification unit 514 determines whether or not the key attribute x included in the re-encryption key rkx,y′ and the ciphertext attribute y included in the original ciphertext octy satisfy a relation R(x, y)=1. By this, the verification unit 514 determines whether or not the original ciphertext octy can be decrypted by the decryption key dkx on which the re-encryption key rkx,y′ is based.


If R(x, y)=1 is satisfied, the verification unit 514 advances the process to step S65. On the other hand, if R(x, y)=1 is not satisfied, the verification unit 514 ends the process.


(Step S65: Signature Verification Process)


The verification unit 514 verifies the signature σ included in the original ciphertext octy with the verification key vk included in the original ciphertext octy by a verification algorithm for one-time signatures. As the verification algorithm for one-time signatures, an existing algorithm may be employed.


If the verification is successful, the verification unit 514 advances the process to step S66. On the other hand, if the verification is not successful, the verification unit 514 ends the process.


(Step S66: Decryption Tag Generation Process)


The decryption tag generation unit 515 transforms the tag tgφ{circumflex over ( )} included in the re-encryption key rkx,y′ to generate a decryption tag tgvk.


Specifically, the decryption tag generation unit 515 executes a TTag algorithm indicated in Formula 128, taking as input the parameter tpp, the tag tgφ{circumflex over ( )}, and the verification key vk included in the original ciphertext octy, so as to generate the decryption tag tgyk.












TTag


(

tpp
,

tg
ϕ
^

,
vk

)


:





parse






tg
ϕ
^



=


k
2
*

+
α


,






δ
2




U



𝔽
q


,






tg
vk

=


k
2

*
vk


=


tg
ϕ
^

+


(



δ
2



(

vk
,

-
1


)


,

0
6


)


𝔹
2
*





,





return







tg
vk

.






[

Formula





128

]







(Step S67: Re-Encryption Process)


The re-encryption unit 516 encrypts the original ciphertext octy, the encryption key acty′ included in the re-encryption key rkx,y′, and the decryption tag tgvk by an attribute-based encryption scheme using the ciphertext attribute y′ included in the re-encryption key rkv,y′, so as to generate a re-encrypted ciphertext rcty′.


Specifically, the re-encryption unit 516 executes an AEnc algorithm indicated in Formula 129, taking as input the parameter app, the ciphertext attribute y′, and data octy∥acty·∥tgvk which is a concatenation of the original ciphertext octy, the encryption key acty′, and the decryption tag tgvk, so as to generate the re-encrypted ciphertext rcty′.











AEnc


(

app
,

y


,

oc


t
y





act

y







tg

v

k




)


:




ω

,
ζ
,


φ
0




U



𝔽
q


,






c
3

=


(

ζ
,

ω






y



,

0
n

,

0
n

,

φ
0


)


𝔹
3



,






c
T

=

o

c


t
y





act

y








tg

v

k


·

g
T
ζ




,






return






rct

y




=


(


y


,

c
3

,

c
T


)

.






[

Formula





129

]







(Step S68: Re-Encrypted Ciphertext Output Process)


The re-encrypted ciphertext output unit 517 outputs the re-encrypted ciphertext rcty′ generated in step S67 to the re-encrypted ciphertext decryption device 60.


The RDec algorithm according to the first embodiment will be described with reference to FIG. 14.


The RDec algorithm is executed by the re-encrypted ciphertext decryption device 60. The RDec algorithm is an algorithm that takes as input the public parameter pp, the decryption key dkx′, and the re-encrypted ciphertext ray′, and outputs the message m.


(Step S71: Decryption Key Acquisition Process)


The decryption key acquisition unit 611 acquires, via the communication interface 64, the decryption key dkx′ and the public parameter pp that are generated by the key generation device 10.


(Step S72: Re-Encrypted Ciphertext Acquisition Process)


The re-encrypted ciphertext acquisition unit 612 acquires, via the communication interface 64, the re-encrypted ciphertext rcty′ generated by the re-encryption device 50.


(Step S73: First Decryption Process)


The first decryption unit 613 decrypts the re-encrypted ciphertext rcty′ with the decryption key adkx′ in which the key attribute x′ corresponding to the ciphertext attribute y′ is set, so as to obtain the original ciphertext octy, the encryption key acty′, and the decryption tag tgvk{circumflex over ( )}.


Specifically, the first decryption unit 613 executes an ADec algorithm indicated in Formula 130, taking as input the parameter app, the decryption key adkx′ included in the decryption key dkx′, and the re-encrypted ciphertext rcty′, so as to generate the original ciphertext octy, the encryption key acty′, and the decryption tag tgvk.






ADec(app,adkx′,rcty′):





parse adkx′=(x′,k*3),rcty′=(y′,c3,cT),






K=e(c3,k*3),





return octy∥acty′∥tgvk=cT/K  [Formula 130]


(Step S74: Second Decryption Process)


The second decryption unit 614 decrypts the encryption key acty′ with the decryption key adkx′, so as to obtain the decryption key tdkx{circumflex over ( )} in which the random number is set.


Specifically, the second decryption unit 614 executes an ADec algorithm indicated in Formula 131, taking as input the parameter app, the decryption key adkx′ included in the decryption key dkx′, and the encryption key acty′, so as to generate the decryption key tdkx{circumflex over ( )}.






ADec(app,adkx′,acty′):





parse adkx′=(x′,k*3),acty′=(y′,c3,cT),






K=e(c3,k*3),





return tdkφ{circumflex over ( )}=cT/K.   [Formula 131]


(Step S75: Third Decryption Process)


The third decryption unit 615 decrypts the original ciphertext octy to obtain the message m.


Specifically, the third decryption unit 615 executes a TDec algorithm indicated in Formula 132, taking as input the parameter tpp, the decryption key tdkx{circumflex over ( )}, the decryption tag tgvk, and the element tcty,vk included in the original ciphertext octy, so as to generate the message m.






TDec(tpp,tdkφ{circumflex over ( )},tgvk,tcty,vk):





parse tdkx{circumflex over ( )}=(x,k*0{circumflex over ( )},k*1{circumflex over ( )}),tgvk=k*2vk,






tct
y,vk=(y,c0,c1,c2,cT),






K=e(c0,k*0{circumflex over ( )}e(c1,k*1{circumflex over ( )}e(c2,k*2vk),





return m=cT/K.   [Formula 132]


Effects of First Embodiment

As described above, the cryptographic system 1 according to the first embodiment realizes an attribute-based proxy-re-encryption scheme, using tag-added attribute-based encryption and tagless attribute-based encryption. The cryptographic system 1 according to the first embodiment encrypts a decryption key of tag-added attribute-based encryption using attribute-based encryption, so as to generate a re-encryption key. This eliminates the need to include a random matrix in a re-encrypted ciphertext, so that an increase in the size of a ciphertext entailed in re-encryption can be reduced.


In the cryptographic system 1 according to the first embodiment, the re-encryption key generation device 40 encrypts the decryption key tdkφ{circumflex over ( )} using the ciphertext attribute y′ when generating the re-encryption key rkx,y′. Therefore, the re-encryption device 50 cannot decrypt the original ciphertext octy with the re-encryption key rkx,y′.


In the cryptographic system 1 according to the first embodiment, the re-encryption key generation device 40 does not encrypt the tag tgφ{circumflex over ( )} when generating the re-encryption key rkv,y′. Therefore, the re-encryption device 50 can generate the decryption tag tgvk by setting the verification key vk in the tag tgφ{circumflex over ( )}. The decryption tag tgvk in which the verification key vk is set, instead of the tag tgφ{circumflex over ( )}, is included in the re-encrypted ciphertext rcty′, so that the re-encrypted ciphertext decryption device 60 can decrypt only a ciphertext in which the verification key vk is set.


Note that in the first embodiment, the verification key vk is set in the original ciphertext octy and the decryption tag tgvk. However, even when different data vk, instead of the verification key vk, is set in the original ciphertext octy and the decryption tag tgvk, it is possible to obtain the effect of allowing the re-encrypted ciphertext decryption device 60 to decrypt only a ciphertext in which the data vk is set.


***Other Configurations***


<First Variation>


In the first embodiment, the functional components of the key generation device 10, the encryption device 20, the original ciphertext decryption device 30, the re-encryption key generation device 40, the re-encryption device 50, and the re-encrypted ciphertext decryption device 60 are realized by software. However, as a first variation, the functional components may be realized by hardware. Differences in this first variation from the first embodiment will be described.


A configuration of a key generation device 10 according to the first variation will be described with reference to FIG. 15.


When the functions are realized by hardware, the key generation device 10 includes an electronic circuit 15 in place of the processor 11, the memory 12, and the storage 13. The electronic circuit 15 is a dedicated electronic circuit that realizes the functions of the memory 12, the storage 13, and the functional components of the key generation device 10.


A configuration of an encryption device 20 according to the first variation will be described with reference to FIG. 16.


When the functions are realized by hardware, the encryption device 20 includes an electronic circuit 25 in place of the processor 21, the memory 22, and the storage 23. The electronic circuit 25 is a dedicated electronic circuit that realizes the functions of the memory 22, the storage 23, and the functional components of the encryption device 20.


A configuration of an original ciphertext decryption device 30 according to the first variation will be described with reference to FIG. 17.


When the functions are realized by hardware, the original ciphertext decryption device 30 includes an electronic circuit 35 in place of the processor 31, the memory 32, and the storage 33. The electronic circuit 35 is a dedicated electronic circuit that realizes the functions of the memory 32, the storage 33, and the functional components of the original ciphertext decryption device 30.


A configuration of a re-encryption key generation device 40 according to the first variation will be described with reference to FIG. 18.


When the functions are realized by hardware, the re-encryption key generation device 40 includes an electronic circuit 45 in place of the processor 41, the memory 42, and the storage 43. The electronic circuit 45 is a dedicated electronic circuit that realizes the functions of the memory 42, and the storage 43, and the functional components of the re-encryption key generation device 40.


A configuration of a re-encryption device 50 according to the first variation will be described with reference to FIG. 19.


When the functions are realized by hardware, the re-encryption device 50 includes an electronic circuit 55 in place of the processor 51, the memory 52, and the storage 53. The electronic circuit 55 is a dedicated electronic circuit that realizes the functions of the memory 52, the storage 53, and the functional components of the re-encryption device 50.


A configuration of a re-encrypted ciphertext decryption device 60 according to the first variation will be described with reference to FIG. 20.


When the functions are realized by hardware, the re-encrypted ciphertext decryption device 60 includes an electronic circuit 65 in place of the processor 61, the memory 62, and the storage 63. The electronic circuit 65 is a dedicated electronic circuit that realizes the functions of the memory 62, the storage 63, and the functional components of the re-encrypted ciphertext decryption device 60.


Each of the electronic circuits 15, 25, 35, 45, 55, and 65 is assumed to be a single circuit, a composite circuit, a programmed processor, a parallel-programmed processor, a logic IC, a gate array (GA), an application specific integrated circuit (ASIC), and a field-programmable gate array (FPGA).


The functions of the functional components of the key generation device 10 may be realized by one electronic circuit 15, or the functions of the functional components may be distributed to and realized by a plurality of electronic circuits 15. Similarly, the functions of the functional complements of the encryption device 20, the original ciphertext decryption device 30, the re-encryption key generation device 40, the re-encryption device 50, and the re-encrypted ciphertext decryption device 60 may be realized by one electronic circuit 25, 35, 45, 55, and 65, respectively, or the functions of the functional components may be distributed to and realized by a plurality of electronic circuits 25, 35, 45, 55, and 65, respectively.


<Second Variation>


As a second variation, some of the functions may be realized by hardware, and the rest of the functions may be realized by software. That is, some functions of the functional components may be realized by hardware, and the rest of the functions may be realized by software.


Each of the processors 11, 21, 31, 41, 51, and 61, the memories 12, 22, 32, 42, 52, and 62, and the electronic circuits 15, 25, 35, 45, 55, and 65 is referred to as processing circuitry. That is, the functions of the functional components are realized by the processing circuitry.


REFERENCE SIGNS LIST


1: cryptographic system, 10: key generation device, 11: processor, 12: memory, 13: storage, 14: communication interface, 15: electronic circuit, 111: information acceptance unit, 112: master key generation unit, 113: decryption key generation unit, 114: key output unit, 20: encryption device, 21: processor, 22: memory, 23: storage, 24: communication interface, 25: electronic circuit, 211: public parameter acquisition unit, 212: information acceptance unit, 213: encryption unit, 214: ciphertext output unit, 30: original ciphertext decryption device, 31: processor, 32: memory, 33: storage, 34: communication interface, 35: electronic circuit, 311: decryption key acquisition unit, 312: ciphertext acquisition unit, 313: decryption unit, 40: re-encryption key generation device, 41: processor, 42: memory, 43: storage, 44: communication interface, 45: electronic circuit, 411: decryption key acquisition unit, 412: information acceptance unit, 413: randomization unit, 414: encryption key generation unit, 415: re-encryption, key output unit, 50: re-encryption device, 51: processor, 52: memory, 53: storage, 54: communication interface, 55: electronic circuit, 511: public parameter acquisition unit, 512: ciphertext acquisition unit, 513: re-encryption key acquisition unit, 514: verification unit, 515: decryption tag generation unit, 516: re-encryption unit, 517: re-encrypted ciphertext output unit, 60: re-encrypted ciphertext decryption device, 61: processor, 62: memory, 63: storage, 64: communication interface, 65: electronic circuit, 611: decryption key acquisition unit, 612: re-encrypted ciphertext acquisition unit, 613: first decryption unit, 614: second decryption unit, 615: third decryption unit

Claims
  • 1-9. (canceled)
  • 10. A re-encryption key generation device comprising: processing circuitry to:set a random number in a decryption key tdkx in which a key attribute x is set and set a random number in a tag tgφ used to decrypt a ciphertext with the decryption key tdkx, so as to generate a decryption key tdkx{circumflex over ( )} and a tag tgφ{circumflex over ( )};encrypt the generated decryption key tdkx{circumflex over ( )} by an attribute-based encryption scheme using a ciphertext attribute y′, so as to generate an encryption key acty; andoutput a re-encryption key rkx,v′ including the encryption key acty′ and the tag tgφ{circumflex over ( )} that are generated.
  • 11. The re-encryption key generation device according to claim 10, wherein the re-encryption key rkx,y′ is a key for generating, from an original ciphertext octy in which a ciphertext attribute y corresponding to the key attribute x is set, a re-encrypted ciphertext rety′ that can be decrypted with a decryption key adkx′ in which a key attribute x′ corresponding to the ciphertext attribute y′ is set.
  • 12. The re-encryption key generation device according to claim 10, wherein the processing circuitry generates the decryption key tdkx{circumflex over ( )} and the tag tgφ{circumflex over ( )}, as indicated in Formula 1, andgenerates the encryption key acty′, as indicated in Formula 2
  • 13. The re-encryption key generation device according to claim 11, wherein the processing circuitry generates the decryption key tdkx{circumflex over ( )} and the tag tgφ{circumflex over ( )}, as indicated in Formula 3, andgenerates the encryption key acty′, as indicated in Formula 4
  • 14. A re-encryption device comprising: processing circuitry to:acquire an original ciphertext octy in which a ciphertext attribute y is set;acquire a re-encryption key rkx,y′ including an encryption key acty′ and a tag tgφ{circumflex over ( )}, the encryption key acty′ being generated by setting a random number in a decryption key tdkx in which a key attribute x corresponding to the ciphertext attribute y is set and then encrypting the decryption key tdkx by an attribute-based encryption scheme using a ciphertext attribute y′, the tag tgφ being obtained by setting a random number in a tag tgφ used to decrypt a ciphertext with the decryption key tdkx;transform the tag tgφ{circumflex over ( )} included in the acquired re-encryption key rkx,y′, so as to generate a decryption tag tgvk; andencrypt the acquired original ciphertext octy, the encryption key acty′ included in the acquired re-encryption key rkx,y′, and the generated decryption tag tgvk by an attribute-based encryption scheme using the ciphertext attribute y′, so as to generate a re-encrypted ciphertext rcty′.
  • 15. The re-encryption device according to claim 14, wherein data vk is set in the original ciphertext octy, andwherein the processing circuitry generates the decryption tag tgvk by setting the data vk in the tag tgφ{circumflex over ( )}.
  • 16. The re-encryption device according to claim 14, wherein the processing circuitry generates the decryption tag tgvk, as indicated in Formula 5, andgenerates the re-encrypted ciphertext rcty′, as indicated in Formula 6
  • 17. The re-encryption device according to claim 15, wherein the processing circuitry generates the decryption tag tgyk, as indicated in Formula 7, andgenerates the re-encrypted ciphertext rety′, as indicated in Formula 8
  • 18. A re-encrypted ciphertext decryption device comprising: processing circuitry to:acquire a re-encrypted ciphertext rcty′ generated by encrypting an original ciphertext octy in which a ciphertext attribute y is set, an encryption key acty′, and a decryption tag tgvk by an attribute-based encryption scheme using a ciphertext attribute y′, the encryption key acty′ being generated by setting a random number in a decryption key tdkx in which a key attribute x corresponding to the ciphertext attribute y is set, and then encrypting the decryption key tdkx by an attribute-based encryption scheme using a ciphertext attribute y′, the decryption tag tgvk being generated from a tag tgφ used to decrypt a ciphertext with the decryption key tdkx;decrypt the acquired re-encrypted ciphertext rcty′ with a decryption key adkx′ in which a key attribute x′ corresponding to the ciphertext attribute y′ is set, so as to generate the original ciphertext octy, the encryption key acty′, and the decryption tag tgvk;decrypt the generated encryption key acty′ with the decryption key adkx′, so as to generate a decryption key tdkx{circumflex over ( )} in which a random number is set; anddecrypt the original ciphertext octy, using the generated decryption key tdkx{circumflex over ( )} in which the random number is set and the decryption tag tgyk.
  • 19. The re-encrypted ciphertext decryption device according to claim 18, wherein the processing circuitry acquires the re-encrypted ciphertext rcty′ indicated in Formula 9,generates the original ciphertext octy the encryption key acty′, and the decryption tag tgvk, as indicated in Formula 10,generates the decryption key tdkx, as indicated in Formula 11, anddecrypts the original ciphertext octy, as indicated in Formula 12
  • 20. A cryptographic system comprising: a key generation device to generate a decryption key dkx having a tag-added decryption key and a decryption key adkx, the tag-added decryption key including a decryption key tdkx in which a key attribute x is set and a tag tgφ used to decrypt a ciphertext with the decryption key tdkx, the decryption key adkx being a key in which the key attribute x is set;an encryption device to generate an original ciphertext octy in which a ciphertext attribute y corresponding to the key attribute x is set and which can be decrypted with the tag-added decryption key generated by the key generation device; anda re-encryption key generation device to encrypt the decryption key tdkx generated by the key generation device by an attribute-based encryption scheme using a ciphertext attribute y′, so as to generate a re-encryption key rkx,y′ which is a key for generating a re-encrypted ciphertext rcty′ that can be decrypted with a decryption key adkx′ in which a key attribute x′ corresponding to the ciphertext attribute y′ is set.
PCT Information
Filing Document Filing Date Country Kind
PCT/JP2017/021477 6/9/2017 WO 00