• 沒有找到結果。

Performing Authenticated Encryption with Nanoscale Phenomenon

N/A
N/A
Protected

Academic year: 2021

Share "Performing Authenticated Encryption with Nanoscale Phenomenon"

Copied!
4
0
0

加載中.... (立即查看全文)

全文

(1)

Performing Authenticated Encryption with Nanoscale Phenomenon

Yi-Lin Ju, I-Ming Tsai and Sy-Yen Kuo

Department of Electrical Engineering, National Taiwan University No.1, Sec. 4, Roosevelt Road, Taipei, Taiwan, 106

Telephone: +886-2-33663577, Fax: +886-2-23689172 E-mail: [email protected]

Abstract— Recent progress in nanotechnology has focused on applying nanoscale phenomenon in physical layer or device level applications. In this paper, we show that nanoscale phenomenon can not only be used in physical layer, but also in high layer application such as communication protocols. In this paper, we study the possibility of performing authentication and encryption based on quantum entanglement, which is a phenomenon available only at the nanoscale level. Unlike classical authentica-tion and encrypauthentica-tion algorithms, the security of this protocol is based on nanoscale physical laws, instead of any unproven mathematic conjecture.

Index Terms— Nanotechnology, Entanglement, Authentication, Quantum Circuits.

I. INTRODUCTION

Nanotechnology is a highly interdisciplinary field of research and hence can be applied to many fields in computer science and electrical engineering. Today, nanoscale materials are used in electronic, magnetic, biomedical, pharmaceutical and many other physi-cal layer or device level applications. In addition to these device level applications, it has been shown that nanoscale properties can also be applied to some high level applications. Cryptography, most notably key distribution, is one example. Quantum key distribution (QKD) [1] guarantees to distribute the key with abso-lute security. Another important topic in cryptography is authentication. Authentication is a process that you can used to verify that someone is exactly the one he/she claims. A typical example is to use username and password to verify the identity of a person. How-ever, most classical authentication protocols are based on mathematical conjectures and are only condition-ally secure. In this paper, we study the possibility of performing quantum authenticated encryption, whose security is based on nanoscale physical laws, instead of unproven mathematical hard problems.

II. BACKGROUND

In quantum mechanics, the state of a single two-level quantum bit (qubit) can be written as a linear com-bination in a two-dimensional complex vector space as |ψ = α|0 + β|1, where α and β are complex numbers and |α|2 + |β|2 = 1. The two orthonormal

states |0 and |1 form a computational basis of the system. The contribution of each basis state to the overall state (in this case |α| and |β|) is called the probability amplitude. Similarly, a multi-qubit system can be modeled by a 2n-dimensional vector space.

A qubit can be manipulated using quantum gates. An example of a quantum gate is the quantum NOT

gate, For example, when a qubit |ψ = α|0 + β|1 goes through a quantum NOT gate (as depicted

in Fig.1(a)), the state changes to |ψ = β|0 +

α|1. Another example is the Hadamard (H) gate,

which changes |0 → 1/√2(|0 + |1) and |1 → 1/√2(|0 − |1). An example of a two-qubit gate is the CONTROL-NOT (CN) gate (as depicted in

Fig.1(b)). A CN gate consists of one control bit x

and one target bit y. The target qubit will be inverted only when the control qubit is |1. Assuming x is the control bit, the gate can be written as CN(|x, y)= |x, x ⊕ y, where ⊕ denotes exclusive-or. A three-qubit

analogue to theCNgate is theCCNgate (as depicted

in Fig.1(c)), which has two control qubits and one target qubit. TheCCNgate performsCCN(|x, y, z)= |x, y, (x · y) ⊕ z and is universal in terms of Boolean

functions. It is trivial to generalize the control part of these gates to any Boolean function. For example, a three-qubit XOR-NOT gate is to invert the target

when the two control qubits differ from each other, as depicted in Fig.1(d).

Fig. 1. The symbols of various quantum gates

Proceedings of 2005 5th IEEE Conference on Nanotechnology Nagoya, Japan, July 2005

(2)

An interesting phenomenon in quantum mechanics is entanglement. Imagine that Alice and Bob share a two-qubit system in the state 1/√2(|00 + |11)ab, where a and b denote Alice and Bob respectively. According to quantum mechanics, if Alice takes a measurement on qubit a, the state of the qubit will collapse to |0 with a probability of 1/2. Moreover, Alice immediately knows that the state of the other qubit (qubit b) must be |0. In other words, once the measurement result of one qubit is decided, the state of the other one is perfectly correlated and can be instantaneously decided, no matter how far away Alice and Bob are separated. Similarly, if the result of Alices measurement is |1, the other qubit will also be |1. This non-classical correlation among multiple quantum systems is called quantum entanglement, because they can not be written as separable states. Studies of different types of entanglement and their applications are an important issue in nanoscale physics.

Entanglement is a phenomenon in quantum me-chanics. It has been found to be extremely useful not only at nanoscale device level but also in many high layer applications. Teleportation [2] is one such example. With quantum entanglement, teleportation demonstrates the ability of moving quantum states from one place to another place via a classical commu-nication channel instantaneously. Assume Alice wants to send an unknown qubit |ψ = α|0 + β|1 to Bob, who shares an entanglement 1/√2(|00 + |11)ab with Alice. This can be done by performing a Bell

measure-ment on qubit |ψ and |a and then announcing the

measurement result. The basis of a Bell measurement is defined as  |ψ± = 1 2(|00 ± |11), |φ± = 1 2(|01 ± |10). (1) As we can see, the elements in the basis of a Bell mea-surement are orthogonal and they form a orthogonal matrix. In this example, the coefficients shown above are actually two interleaving Hadamard matrices:

H2=  1 1 1 −1  . (2)

where the subscript ’2’ denotes that it is a 2 × 2 Hadamard matrix. Theoretical study on Hadamard matrices shows that a necessary condition of the ex-istence of an n×n Hadamard matrix is n = 1 or n = 2 or n = 4p with p an integer. (It is conjectured that these are also sufficient conditions.) An easy way to build a 2n × 2n Hadamard matrix H2n is:

H2n=  Hn Hn Hn −Hn  . (3)

Therefore, it is easy to build a 2k×2kHadamard matrix

H2k using Eq.(2) and Eq.(3) recursively. An example

of an 8 × 8 Hadamard matrix which will shortly be used in this paper is shown as follows:

H8= ⎛ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎜ ⎝ 1 1 1 1 1 1 1 1 1 −1 1 −1 1 −1 1 −1 1 1 −1 −1 1 1 −1 −1 1 −1 −1 1 1 −1 −1 1 1 1 1 1 −1 −1 −1 −1 1 −1 1 −1 −1 1 −1 1 1 1 −1 −1 −1 −1 1 1 1 −1 −1 1 −1 1 1 −1 ⎞ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎟ ⎠ . (4) In the follow text, we will use Hi,j

8 to denote the ele-ment in row i and column j of an H8, with 0 ≤ i, j ≤ 7. Note that Hadamard matrices are orthogonal matrices. So, exchanging any two rows or two columns of a Hadamard matrix gives another Hadamard matrix.

III. QUANTUMAUTHENTICATIONPROTOCOL Authentication is one of the primary objectives of cryptography. It is a process of verifying someone’s identity as what he/she claims (individual authen-tication) and/or verifying whether a message comes from the person indicated (message authentication). For example, in computer networks, you are required to enter your username and password to gain access to the server. The identity of a person or a computer system is given by, in general, a trusted third party such as a government or network administrator. Based on this, an architecture of quantum authentication is sketched as follows.

(1) Each applicant (Alice and Bob) in this protocol must obtain one qubit of an EPR pair from the au-thenticating server before they can be authenticated. The EPR pairs are shown below.



|ψa = 12(|00 + |11)αa

|ψb = 12(|00 + |11)βb (5) The authenticating server keeps two qubits (α and

β) while qubit a and b are given to Alice and Bob

respectively.

(2) Assuming Alice wants to transmit a secret mes-sage x ∈ {0, 1} to Bob, she can ask the trusted third party to perform a Bell measurement on qubit α and

β. This causes an entanglement swapping and results in

an entanglement between Alice and Bob (qubit a and

b). The trusted third party then announces the result r, which is encoded as r = 0 in case the measurement

result is in {|ψ+, |ψ}, r = 1 otherwise.

(3) Alice takes a measurement on her qubit a and gets a result p ∈ {0, 1}. She then sends m = x ⊕ p to Bob via a public channel.

(3)

(4) Bob takes a measurement on his qubit b and gets a result q ∈ {0, 1}. Then he can recover the secret bit by performing x = r ⊕ q ⊕ m.

Although this protocol works, after this process the applicant will lose his/her entanglement with the trusted third party. A more sophisticated protocol which preserves the entanglement between the trusted third party and the applicant is described as follows. STEP 1 :

For those who want to be authenticated in this struc-ture (Alice and Bob in this case), they must register to the authenticating server first. This procedure can be done by physically going to the authenticating server so the authenticating server can identify the applicant in a secure way. The authenticating server will issue a quantum certificate to the applicant if he/she passes the identification process. This certificate is prepared by the authenticating server using the following proce-dure. First, the server prepares a 6-qubit entanglement:

1

2(|000000 + |010101 + |101010 + |111111). (6) In the following text, we refer to these six qubits as

m1, m2, e1, e2, c1, and c2, in that order. Then the authenticating server gives qubit c1 and c2 to the applicant. To distinguish between Alice and Bob, we will use m1a, m2a, e1a, e2a, c1a, and c2

a to denote the quantum certificate qubits for Alice. Similarly, m1

b, m2b,

e1b, e2

b, c1b, and c2b are used to denote the qubits for Bob. The initialization procedure of the certificate is depicted in Fig.2.

Fig. 2. A quantum circuit showing the initialization procedure

STEP 2 :

Assuming Alice wants to send confidential messages to Bob, she must make a request to the authenti-cating server so the server can connect the channel between Alice and Bob. This is done by first applying a Hadamard gate on m2

a and m2b and then taking a measurement on m1a, m2a, m1

b, and m1b according to the following basis:

|ψi = (Hi,0

8 |0 + H8i,1|3 + H8i,2|5 + H8i,3|6 +H8i,4|9 + H8i,5|10 + H8i,6|12 + H8i,7|15) (7)

for 0 ≤ i ≤ 7, and

|ψi = (Hi,0

8 |1 + H8i,1|2 + H8i,2|4 + H8i,3|7 +H8i,4|8 + H8i,5|11 + H8i,6|13 + H8i,7|14) (8) for 8 ≤ i ≤ 15, where H8x,y indicates the element in row x and column y of H8. For simplicity, we omit the probability amplitudes (1/√8) and denote the state in their decimal representation (i.e. |3 = |0011 ... etc.). The qubit order is m1

a, m2a, m1b, m2b. After the mea-surement, the trusted third party announces the result

r = 0 if the measurement result is in {|ψ0 . . . |ψ7},

r = 1 if the measurement result is in {|ψ8 . . . |ψ15}. Note that this measurement also decides the state of the remaining qubits. If r = 0, the state of e1

a, e2a, c1a,

c2a, e1b, e2

b, c1b, c2b, up to irrelevant phase differences, becomes

1 = (|0000 + |1111) ⊗ (|0000 + |1111) + (|0101 + |1010) ⊗ (|0101 + |1010). (9) On the other hand, if r = 1, the state becomes

2 = (|0000 + |1111) ⊗ (|0101 + |1010) + (|0101 + |1010) ⊗ (|0000 + |1111).(10) The measurement by the trusted third party and the entangled result are depicted in Fig.3.

Fig. 3. The measurement causes an entangled result

STEP 3 :

After the channel is set up by the authenticating server, Alice prepares a qubit |0 and performs a XOR-NOTon it using c1a and c2aas the control qubits. Then

Alice takes a measurement on this qubit and gets a result p ∈ {0, 1}. Assuming Alice wants to send a secret bit x ∈ {0, 1} to Bob, she sends m = p ⊕ x to Bob via the classical public channel. Note that the state after Alice’s measurement depends on her result. If the result p = 0, the state becomes

(4)

However, if the result p = 1, the state becomes

2 = (|0000 + |1111) ⊗ (|0101 + |1010). (12) Again, these states are shown according to the order

e1a, e2

a, c1a, c2a, e1b, e2b, c1b, c2b, up to irrelevant phase differences. The procedure taken by Alice in order to send a secret bit x to Bob is depicted in Fig.4.

Fig. 4. Alice performs the measurement and sends m to Bob

STEP 4 :

After Bob receives the bit m from Alice, he prepares a qubit |0 and performs aXOR-NOTon it using c1b and c2

b as the control qubits. Then he takes a measurement on this qubit and gets a result q ∈ {0, 1}. The secret bit x can now be recovered since x = r ⊕ q ⊕ m. The recovery procedure performed by Bob is depicted in Fig.5.

Fig. 5. Bob performs the measurement and extracts x

IV. ANALYSISANDDISCUSSION

In classical cryptography, mutual authentication can be achieved by getting together and negotiating a key

secretly. However, in a network environment, manual delivery of keys between each user is not scalable. This is known as the key management problem. Therefore, automatic key management by a trusted third party is necessary. The applicant can get their identity by physically going to the trusted third party, just like applying for a driver license.

After each applicant gets his/her certificate, only classical public channels are required, no qubit ex-change is necessary. The only message transmitted across the network is the information that travels in the classical public channel (i.e. r and m), which is public readable. Since, according to quantum mechanics, both the measurement results r and m = p ⊕ x are random numbers, they are useless for decryption.

Assuming a malicious Eve acts as a man-in-the-middle, Alice and Bob can still detect the existence of Eve because the correlation (i.e. entanglement) between Alice and Bob is not interceptable. To detect the existence of Eve, they can send the message first, then a simple error-checking mechanism can be used to check the integrity and reveal the existence of Eve. Note that after Bob recovers the secret bit x, the state is still either |φ1 or |φ2 (up to irrelevant phase differences). This is a product state (with e1a, e2

a, e1b,

e2

b belongs to the authenticating server), which means Alice and Bob are no longer entangled. Moreover, each applicant has his/her own entanglement with the authenticating server and can be used later.

V. CONCLUSION

In this paper, we have demonstrated that nanoscale technologies can not only be used at the physical layer or device level, but also can be applied in high layer applications. We give an example of quantum authen-tication and encryption protocol. Unlike most classical cryptography primitives which are only conditionally secure, security of this protocol is based on nanoscale physical properties, instead of unproven mathematical hard problems.

REFERENCES

[1] C. Bennett and G. Brassard, in Proc. IEEE Int.Conf.

on Computers, Systems and Signal Processing, Bangalore,

India (IEEE, New York, 1984), pp.175-179.

[2] C. Bennett, G. Brassard, C. Crepeau, R. Jozsa, A. Peres, and W. Wootters, ”Teleporting an Unknown Quantum State via Dual Classical and EPR Channels”, Phys. Rev.

數據

Fig. 1. The symbols of various quantum gatesProceedings of 2005 5th IEEE Conference on Nanotechnology
Fig. 2. A quantum circuit showing the initialization procedure
Fig. 4. Alice performs the measurement and sends m to Bob

參考文獻

相關文件

107 Administration of the Foreign Professionals Engaging in Arts and Performing Arts and the Documents Required for Foreign Professionals Engaging in Arts and Performing

In this paper, we study the local models via various techniques and complete the proof of the quantum invariance of Gromov–Witten theory in genus zero under ordinary flops of

In this paper, we propose a practical numerical method based on the LSM and the truncated SVD to reconstruct the support of the inhomogeneity in the acoustic equation with

In this paper, we have studied a neural network approach for solving general nonlinear convex programs with second-order cone constraints.. The proposed neural network is based on

In this paper, we build a new class of neural networks based on the smoothing method for NCP introduced by Haddou and Maheux [18] using some family F of smoothing functions.

double-slit experiment is a phenomenon which is impossible, absolutely impossible to explain in any classical way, and.. which has in it the heart of quantum mechanics -

IQHE is an intriguing phenomenon due to the occurrence of bulk topological insulating phases with dissipationless conducting edge states in the Hall bars at low temperatures

Optim. Humes, The symmetric eigenvalue complementarity problem, Math. Rohn, An algorithm for solving the absolute value equation, Eletron. Seeger and Torki, On eigenvalues induced by