# US 9,356,783 B2 · Method for ciphering and deciphering, corresponding electronic device and computer program product

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

- Number: US 9,356,783 B2
- Document ID: US9356783B2
- Status: Granted
- Kind: B2
- Application number: 14/476,057
- Filed: 2014-09-03
- Published: 2015-03-05
- Granted: 2016-05-31
- Earliest claimed: 2013-09-05
- Assignees: Thomson Licensing
- Applicants: Thomson Licensing
- Inventors: Marc Joye; Benoit Libert
- Web page: https://patentgrep.com/patent/US9356783B2

## CPC

- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/0847: {involving identity based encryption [IBE] schemes}
- H04L 9/3006: {underlying computational problems or public-key parameters}
- H04L 2209/24: Key scheduling, i.e. generating round keys or sub-keys for block encryption
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one embodiment, it is proposed a method for ciphering a plaintext M belonging to a group of prime order p, such method being performed by an electronic device. The method is remarkable in that it comprises: encrypting said plaintext M in function of a public vector Z=(Z1, . . . , Zl)εl of l elements of said group , where l≧2 log2(p), and a one-time private vector K comprising l binary elements (K[1], . . . , K[l])ε{0,1}l, said encrypting delivering a first ciphertext belonging to a group k1 for an integer k1≧1; encrypting said l binary elements delivering a second ciphertext in a group k2, for an integer k2>1.

## Claims

### Claim 1

Method for ciphering a plaintext M belonging to a group of prime order p, said method being performed by an electronic device, and wherein it comprises:
encrypting said plaintext M in function of a public vector Z=(Z1, . . . , Zi)εl of l elements of said group , where l≧2 log2(p), and a one-time private vector K comprising l binary elements (K[1], . . . , K[l])ε{0,1}l, said step delivering a first ciphertext belonging to a group k1 for an integer k1≧1;
encrypting said binary elements delivering a second ciphertext in a group k2, for an integer k2>1.

### Claim 2 (depends on 1)

Method according to claim 1, wherein said method comprises:
obtaining said public vector Z=(Z1, . . . , Zl)εl of l elements of said group ;
obtaining said one-time private vector comprising binary elements (K[1], . . . , K[l])ε{0,1}l.

### Claim 3 (depends on 1)

Method according to claim 1, wherein said encrypting said plaintext M comprises multiplying it with a value corresponding to g(K,Z) where a function g is a universal hash function compatible with a Groth-Sahai proof scheme.

### Claim 4 (depends on 3)

Method according to claim 3, wherein K1=1 and said function g is defined by an equation: g(K,Z)=Πi=1lZiK[i].

### Claim 5 (depends on 1)

Method according to claim 1, wherein said encrypting said l binary elements comprises encoding each binary element K[i], with 1<i<l, as a set of elements from the group .

### Claim 6 (depends on 1)

Method according to claim 1, wherein said encrypting said l binary elements comprises using a pairing based cryptography scheme in which operations in a target group T are replaced by operations in said group .

### Claim 7 (depends on 6)

Method according to claim 6, wherein said pairing based cryptography scheme is a Waters IBE scheme, and each binary element K[i] is encrypted in such way that corresponding ciphertext of a binary element K[i] has the following form:
(
C
i
,
1
,
C
i
,
2
,
C
i
,
3
,
C
i
,
4
)
=
(
g
s
i
,
H
𝔾
⁡
(
ID
)
s
i
,
g
K
⁡
[
i
]
s
i
ω
i
,
g
2
ω
i
)
,
where si,ωi are random values from p and g, g2 are public elements of , randomly chosen, (g0,g1)=(gα0,gα1) are public elements of where α0,α1 are random values from p, IDε{0,1}L public identity, and hash function H: {0,1}L→, where L is an integer.

### Claim 8

Method for deciphering a ciphertext C belonging to a group k1 of prime order p, for an integer k1≧1, said method being performed by an electronic device, wherein it comprises:
determining a one-time private vector comprising l binary elements (K[1], . . . , K[l])ε{0,1}l from obtained encrypted data in group k2, for an integer k2>1;
determining a plaintext M belonging to said group in function of said ciphertext C, a public vector Z=(Z1, . . . , Zl)εl of l elements of said group , where l≧2 log2(p), and said one-time private vector.

### Claim 9 (depends on 8)

Method according to claim 8, wherein it comprises obtaining a public vector Z=(Z1, . . . , Zl)εl of l elements of said group .

### Claim 10 (depends on 8)

Method according to claim 8, wherein said determining a plaintext M comprises dividing said ciphertext C with a value corresponding to g(K,Z) where a function g is a universal hash function compatible with a Groth-Sahai proof scheme.

### Claim 11 (depends on 10)

Method according to claim 10, wherein k1=1 and said function g is defined by an equation: g(K,Z)=Πi=1lZiK[i].

### Claim 12 (depends on 8)

Method according to claim 8, wherein said determining said l binary elements comprises obtaining l encrypted data, each encrypted data having the following form:
(
C
i
,
1
,
C
i
,
2
,
C
i
,
3
,
C
i
,
4
)
=
(
g
s
i
,
H
𝔾
⁡
(
ID
)
s
i
,
g
K
⁡
[
i
]
s
i
ω
i
,
g
2
ω
i
)
,
where si,ωi are random values from p, and g, g2 are randomly chosen public elements of , and elements (g0,g1)=(gα0,gα1) are public elements of where α0,α1 are random values from p, IDε{0,1}L a public identity, and hash function H: {0,1}L→, where L is an integer.

### Claim 13 (depends on 12)

Method according to claim 12, wherein said determining said l binary elements comprises:
obtaining a private key dID=(d0,1,d0,2,d1,1,d1,2)=(g2α0,H(ID)r0,gr0,g2α1,H(ID)r1,gr2) where r0,r1 are random values from p; and
decrypting performed on each l encrypted data that comprises determining μb=e(Ci,1,db,1)/e(Ci,2,db,2) for each bε{0,1}, and if μb=(Ci,3, Ci,4) for some bε{0,1}, the binary element K[i] is set to value of b.

### Claim 14

A computer-readable and non-transitory storage medium storing a computer program comprising a set of computer-executable instructions to implement a method for cryptographic computations when the instructions are executed by a computer, wherein the instructions comprise instructions, which when executed, configure the computer to perform a method for ciphering a plaintext M belonging to a group˜of prime order p, wherein it comprises:
encrypting said plaintext M in function of a public vector Z=(Z.sub.1, . . . , Z.sub.1).epsilon..sup.1 of 1 elements of said group, where 1.gtoreq.2 log.sub.2(p), and a one-time private vector K comprising 1 binary elements (K[1], . . . , K[1]).epsilon.[0,1].sup.1, said step delivering a first ciphertext belonging to a group.sup.k.sup.1 for an integer k.sub.1.gtoreq.1; encrypting said 1 binary elements delivering a second ciphertext in a group.sup.k.sup.2, for an integer k.sub.2>1.

### Claim 15

A computer-readable and non-transitory storage medium storing a computer program comprising a set of computer-executable instructions to implement a method for cryptographic computations when the instructions are executed by a computer, wherein the instructions comprise instructions, which when executed, configure the computer to perform a method for deciphering a ciphertext C belonging to a group.sup.k.sup.1 of prime order p, for an integer k.sub.1.gtoreq.1, wherein it comprises: determining a one-time private vector comprising 1 binary elements (K[1], . . . , K[1]).epsilon.[0,1].sup.1 from obtained encrypted data in group.sup.k.sup.2, for an integer k.sub.2>1; determining a plaintext M belonging to said group in function of said ciphertext C, a public vector Z=(Z.sub.1, . . . , Z.sub.1).epsilon..sup.1 of 1 elements of said group, where 1.gtoreq.2 log.sub.2(p), and said one-time private vector.

### Claim 16

Electronic device for ciphering a plaintext M belonging to a group of prime order p, wherein said electronic device further comprises:
first encrypting module configured to encrypt said plaintext M in function of a public vector Z=(Z1, . . . , Zl)εl of l elements of said group , where l≧2 log2(p), and a one-time private vector K comprising l binary elements (K[1], . . . , K[l])ε{0,1}l, said first encrypting module delivering a first ciphertext belonging to a group k1 for an integer k1≧1;
second encrypting module configured to encrypt said l binary elements delivering a second ciphertext in a group k2, for an integer k2>1.

### Claim 17

Electronic device for deciphering a ciphertext C belonging to a group k1 of prime order p, for an integer k1≧1, wherein said electronic device further comprises:
first determining module configured to determine a one-time private vector comprising l binary elements (K[1], . . . , K[l])ε{0,1}l from obtained encrypted data in group k2, for an integer k2>1;
second determining module configured to determine a plaintext M belonging to said group in function of said ciphertext C, a public vector (Z1, . . . , Zl)εl of l elements of said group , where l>2 log2(p), and said one-time private vector.
