Constructing identity-based cryptosystems for discrete logarithm based cryptosystems
Wei-Bin Lee*, Kuan-Chieh Liao
Department of Information Engineering, Feng Chia University, 100 Wenhwa Road, Seatwen Taichung 407, Taiwan, ROC
Received 29 January 2004; received in revised form 16 March 2004; accepted 24 March 2004
Abstract
In 1984, Shamir proposed the concept of the Identity-Based (ID-Based) cryptosystem. Instead of generating and publishing a public key for each user, the ID-Based scheme permits each user to choose his name or network address as his public key. This is advantageous to public-key cryptosystems because the public-key verification is so easy and direct. In such a way, a large public- key file is not required. Since new cryptographic schemes always face security challenges and many discrete logarithm-based cryptographic systems have been deployed, therefore, the purpose of this paper is to design a transformation process that can transfer all of the discrete logarithm based cryptosystems into the ID-based systems rather than re-invent a new system. In addition, no modification of the original discrete logarithm based cryptosystems is necessary.
q2004 Elsevier Ltd. All rights reserved.
Keywords: Public-key cryptosystem; Discrete logarithm; Identity-based cryptosystem; Digital signature;
Key distribution
1. Introduction
The development of public-key cryptography is a great revolution in cryptography. The digital signature makes e-commerce possible and the key-exchange protocol solves the difficulty of key distribution in conventional encryption. However, since public keys are exposed to the public, an adversary can successfully enter a corresponding fake public key without being detected if there is no effective authentication method. In order to deal with the public-key authentication issue, the concept of the Identity-Based (ID-Based) cryptosystem
1084-8045/$ - see front matter q 2004 Elsevier Ltd. All rights reserved.
doi:10.1016/j.jnca.2004.03.001
Computer Applications 27 (2004) 191–199
www.elsevier.com/locate/jnca
* Corresponding author.
E-mail address: [email protected] (W.-B. Lee).
was born. This idea was first introduced by Shamir in 1984 (Shamir, 1984). In the ID-Based system, instead of generating a random pair of public and secret keys, the user chooses his name, network address, social security number, etc. as his public key. Because of this, a user needs only to know the ‘identity’ of his communication partner, and does not need to run an iterative public-key authentication protocol. Therefore, ID-Based cryptosystems enable any pair of users to communicate securely without keeping a large public file directory, without exchanging private or public keys, and without using services provided by a third party.
While Shamir presented an ID-Based digital signature scheme, he failed to construct an ID-Based cryptosystem. Instead, he conjectured the existence of ID-Based cryptosystems.
Since then, much research has been devoted to constructing various kinds of ID-Based cryptosystems. Several ID-Based cryptosystems (Tanaka, 1987; Tsai and Hwang, 1990;
Tsujii et al., 1987), ID-Based signature schemes (Abe and Okamoto, 2002; Shamir, 1984), and ID-Based key distribution systems (Gunther, 1989; Matsumoto and lmai, 1989;
Okamoto and Tanaka, 1989a,b; Tsujii et al., 1993) have been proposed. But in these schemes, the public key of each entity is not only an identity, but also some random number selected either by the entity or by the trusted authority.
In 1991, Maurer and Yacobi (1991) developed a non-interactive ID-Based public-key distribution system. In their scheme, the public keys are self-authenticated and require no further authentication by certificates. However, some problems with this scheme were found, the scheme was modified (Lim and Lee, 1992; Maurer and Yacobi, 1993), and the final version was presented (Maurer and Yacobi, 1996). In 1998,Tseng and Jan (1998)improved the scheme proposed by Maurer and Yacobi, and provided a non-interactive ID-Based public-key distribution system with multi-objectives such as an ID-Based signature scheme, an identification scheme, and a conference key distribution system. In their scheme, the computational complexity of the system is heavy. Therefore, it is necessary to have a powerful computational capability.
Based on the observation that new cryptographic schemes always face security challenges and confidentiality concerns and many discrete logarithm-based cryptographic systems have been deployed, it is acceptable not to re-invent a new system but to construct a transformation model that introduces the concept of the ID-Based system into all discrete logarithm based cryptosystems. The major contribution of our scheme is the key generation phase, which is just a simple transformation process with low computational complexity. No modification of the original design of the discrete logarithm based cryptosystems is necessary. Therefore, the new scheme has the same security as the original one, and retains all of the advantages of the ID-Based system such as public-key forgery prevention, identification, and key management problem reduction.
This paper is organized into four sections. In Section 2, the new ID-Based model and the signature scheme based on our ID-Based model is proposed. In Section 3, the discussion of the security is given. Finally, conclusions are stated in Section 4.
2. Our proposed scheme
A practical model converting a discrete logarithm-based cryptosystem into an ID-Based system is shown in the subsection. The major contribution of our scheme is the key generation phase. Upon the successful creation of a private key, the ID-Based concept can be easily implemented in discrete logarithm-based cryptosystem.
2.1. System setup stage
There is a trusted center (TC), which is responsible for generating the system parameter and the private key for each registered entity in our system The details of the system setup are described as follows.
1. TC chooses a threshold value t represents that any t entities in our system will not conspire together. The security parameter t also determines the minimum bit length of the entity’s identity number in our scheme.
2. Let p be a large prime number, where p 2 1 is divisible by a prime q and log2q . t; let g be an element of order q in Zp; x be TC’s secret key, and y ¼ gxmod p be the corresponding public key.
3. {k1; k2; k3; …; kt} is the secret information randomly chosen by TC, wherePt
i¼1ki, q: And the corresponding public information is {K1; K2; K3; …; Kt}; where Ki¼ gki mod p; for i ¼ 1; 2; …; t:
4. Each entity A has a designed unique t-bit identity IDA ¼ {IDA1; IDA2; …; IDAt}; where IDAi[ {0; 1}; for i ¼ 1; 2; 3; …; t:
Since log2q . t; if q is a 160 bits prime number, and p is a 512 bits prime number, the maximal bit length of t is therefore 159 bits. On the other hand, the maximum threshold value we can define is 159. This of course influences the applications for the scheme.
Hence, the parameter chosen strategy depends not only on the strength of the discrete logarithm problem but also on how many members will not conspire together.
2.2. Key generation stage
Without loss of generality, assume that the User A wants to join the system Then, TC and User A carry out the following procedure to generate the private key. Besides, the steps for private key generation are shown inFig. 1.
Step 1. User A sends TC his identity IDA¼ {IDA1; IDA2; IDA3; …; IDAt}; where IDAi[ {0; 1}; for i ¼ 1; 2; 3; …; t:
Step 2. TC checks whether the identity IDA conforms to a certain format. If it holds, then TC uses his secret information to compute KA¼Pt
i¼1kiIDAimod q; and
sA¼ x þ KAkAmod q; ð1Þ
where KA¼Qt
i¼1KiIDAimod p:
Step 3. TC secretly sendssA to user A as A’s private key.
Step 4. User A checks whether the following equation holds gsA¼ yKAKAmod p; where KA ¼Qt
i¼1KiIDAimod p can be computed from public information without any problem.
2.3. Our ID-based transformation model
All discrete logarithm based schemes can be easily transferred into ID-Based systems according to our key generation method. Without loss of generality, let p be a large prime
number, where p 2 1 is divisible by a prime q; g be an generator of order q in Zp: Discrete logarithm based system can be defined as DL ¼ {ðp; g; X; YÞ : Y ; gXðmod pÞ}; where p;
g; and Y are public, and X is secret. Then our ID-Based transformation model is constructed as follows:
(1) Define the format of the identity
As the original concept of the ID-Based scheme, each entity uses his identity as his public key. Then the user only needs to confirm the identity of his communication partner.
Hence, the first step is to check whether the identity conforms to a certain format.
(2) Calculate the private key according to our key generation procedure
User A; for example, will receive his private valuesAaccording to our key generation process. Since {K1; K2; K3; …; Kt} and y are made public in the proposed scheme, everyone can easily compute the corresponding public value of user A by performing the following computations:
YA¼ gsA¼ yKAKAmod p; where KA ¼Yt
i¼1
KiIDAimod p: ð2Þ
Accordingly, our transformation process is to convert DL ¼ {ðp; g; X; YÞ : Y ; gXðmod pÞ} into an ID-Based model as DLID-Based¼ {ðp; g;sA; YAÞ : YA¼ gsAðmod pÞ}; wheresAis treated as the private key and YAis the corresponding public key. Because the public key YAis derived from Eq. (2), therefore, the identity is the only user’s key involved in transformation process, so our model can be easily extended any discrete logarithm based scheme into the ID-based one.
2.4. Example
Here we give an example of the ID-Based signature scheme to illustrate our idea.
ElGamal signature (ElGamal, 1985) is the first signature based on the discrete algorithm.
Fig. 1. Private key generation.
Many variants such as Schnorr (1991) and DSA (National Institute of Standards and Technology, 1994) have been designed based on the same assumption. We now review ElGamal signature scheme as follows:
Let m be a document that user A wants to sign, xAis A’s secret key, and yA¼ gxAmod p is the corresponding public key. For K ¼ {ðp; g; xA; yAÞ : yA ¼ gxAðmod pÞ} and let w [ Zqp
is a secret random number, then ElGamal signature can be defined as sigKðm; wÞ ¼ ðr; sÞ;
where
r ¼ gwmod p; and
s ¼ w21ðm 2 xArÞmod q:
For m; r [ Zpp and s [ Zq; verification is defined as follows:
verKðm; r; sÞ ¼ true , gm¼ rsyrAmod p:
To illustrate our idea, the new ID-Based ElGamal signature will be transferred as follows:
1. Define the identity format for user A as IDA:
2. Apply our key generation phase, then User A; for example, will receive his private value sA: Up to now, K ¼ {ðp; g; xA; yAÞ : yA¼ gxAðmod pÞ} is converted into an ID-Based model as Kp¼ {ðp; g;sA; YAÞ : YA¼ gsAðmod pÞ}; wheresAcan be obtained as Eq. (1), and YAcan be computed according to Eq. (2). Therefore, ElGamal signature can be transformed as sigKpðm; wÞ ¼ ðr; sÞ; where
r ¼ gwmod p; and
s ¼ w21ðm 2sArÞmod q:
For m; r [ Zpp and s [ Zq; verification is transformed as follows?
verKpðm; r; sÞ ¼ true , gm¼ rsðYAÞrmod p; where YA can be computed according to Eq. (2).
By the same way, we can easily embed the concept of the ID-Based scheme into other signature schemes based on the discrete logarithm, such as the Schnorr and the DSA signature schemes.
3. Security analysis and discussions
The discrete logarithm problem has played an important role in the construction of some cryptographic protocols. Due to the intractability of the discrete logarithm problem for a large prime p and a generator g; it is infeasible to compute x from the observation of gx mod p: Many of the most widely used public-key cryptosystems are based on the assumption that the discrete logarithm is indeed hard to compute (Gordon, 1991;
LaMacchia and Odlyzko, 1911; Wells, 1984). The main objective of developers is to
design a protocol that is as difficult to break as the underlying discrete logarithm problem.
On the other hand, the verifiable security guarantees that there is no efficient attack on it.
Hence, discrete logarithm based schemes are widely deployed. It is meaningful to construct a practice model that embeds the concept of an ID-Based system into all of the cryptosystems based on the discrete logarithm.
In the following, some possible attacks against the proposed scheme are presented:
(1) Because the {k1; k2; k3; …; kt}; wherePt
i¼1ki, q is randomly chosen by TC, KA¼ Pt
i¼1kiIDAimod q and kB¼Pt
i¼1kiIDBimod q are possibly equivalent. In order to prevent the collision, the sequence of integers k1; k2; k3; …; and kt must be chosen carefully. It should be a super increasing list, which means that the sequence satisfies the following property:
X
j21
i¼1
ki, kj;
where j ¼ 2; 3; …; t:
(2) No one can create a valid private keys0Aby himself. It is clear that the private key s0A should guarantee that the congruence
gs0A¼ yKAKAmod p;
holds. Even if someone knows the particular value yKAKA; the calculation ofs0Afor the above equation implies the computation of the discrete logarithm. SincesA¼ x þ KAkA mod q; the knowledge of TC’s private key x is necessary to obtain a validsA: Thus, it is computationally infeasible for anyone to create a private key without the assistance of TC.
(3) No less than t members can conspire together to obtain TC’s secret information {k1; k2; k3; …; kt}; or TC’s secret key x:
If we have the following t linear equations
sA¼ x þ KAkAmod q ¼ x þ KAðk1IDA1þ k2IDA2þ · · · þ ktIDAtÞmod q;
sB¼ x þ KBðk1IDB1þ k2IDB2þ · · · þ ktIDBtÞmod q; sC¼ x þ KCðk1IDC1þ k2IDC2þ · · · þ ktIDCtÞmod q;
...
we have t þ 1 unknown numbers x; k1; k2; …; and kt: Hence we need t þ 1 polynomial equations to obtain x; k1; k2; k3; …; and kt: It is clear that more than t þ 1 participants should cooperate together to obtain TC’s secret information {k1; k2; k3; …; kt}; or TC’s secret key x: This is obviously a contradiction to our assumption that no t or above entities will conspire together.
(4) Because the private key is derived by
sA¼ x þ KAkAmod q ¼ x þ KAðk1IDA1þ k2IDA2þ · · · þ ktIDAtÞmod q:
Then, the users might conspire together to obtain TC’s secret key x; by using some special identity values, such as (1,0,0,…,0), (0,1,0,…,0) (1,1,0,…,0), etc. But our proposed
scheme can resist the attack, because TC will check whether the identity conforms to a certain format in the key generation stage.
Therefore, we show that the key generation phase is secure if secret information k1; k2; k3; …; kt; and x do not leak out. No one except TC can generate the valid secret key.
According to the previous discussions, our ID-Based system is as secure as the original discrete logarithm-based cryptosystem.
In our scheme, since the public key of each entity is just the identity, it perfectly satisfied the original concept of the Shamir’s ID-Based scheme. Moreover, the computation load of the trust center is just some modular multiplications and modular additions by computing
kA¼Yt
i¼1
KiIDAimod p;
KA¼Xt
i¼1
kiIDAimod q;
and
sA¼ x þ KAkAmod q;
and the computation load of each user is just two modular exponentiations and some modular multiplications by computing
KA¼Yt
i¼1
KiIDAimod p;
and
gsA¼ yKKAAmod p:
From the above discussion, our construction is an efficient and secure ID-Based scheme to be based on the discrete logarithm problem.
4. Conclusions
Based on the fact that re-inventing a new scheme involves many uncertain and unknown threats, and discrete logarithm based schemes are widely deployed, our goal is to construct an ID-Based transformation model for discrete logarithm based scheme rather than re-invent a new one. The concept of the ID-Based system can be easily embedded into all of the discrete logarithm-based cryptosystems without changing their original design.
This solution can be directly deployed in the currently used system with very low cost.
Therefore, our new scheme is more practical and has the same security as the original discrete logarithm-based system.
References
Abe M, Okamoto T. Delegation chains secure up to constant length. IEICE Trans Fundam 2002;E85-A(1):110 – 6.
ElGamal T. A public-key cryptosystem and a signature scheme based on discrete logarithms. IEEE Trans Inf Theory 1985;31(4):469 – 72.
Gordon DM. Discrete logarithms using the number field sieve; 1991. Preprint, 28.
Gunther CG. An identity-based key exchange protocol. Cryptology—Eurocrypt’89. New York: Springer; 1989.
p. 29 – 37.
LaMacchia BA, Odlyzko AM. Computation of discrete logarithms in prime fields. Des Codes Cryptogr 1911;1:
46 – 62.
Lim CH, Lee PJ. Modified Maurer – Yacobi’s scheme and its application. Proc Auscrypt’92 1992;308– 23.
Matsumoto T, lmai H. On the key predistribution system. Cryptology—Eurocrpt’89. New York: Springer; 1989.
p. 29 – 37.
Maurer UM, Yacobi Y. Non-interactive public key cryptography. Cryptology—Eurocrypt’91. New York:
Springer; 1991. p. 498 – 507.
Maurer UM, Yacobi Y. A remark on a noninteractive public-key distribution system. Proc Eurocrpt’92 1993;
458 – 60.
Maurer UM, Yacobi Y. A non-interactive public-key distribution system. Des Codes Cryptogr 1996;9(3):
305 – 16.
National Institute of Standards and Technology, NIST FIPS PUB 186, May 1994. Digital Signature Standard. US Department of Commerce.
Okamoto E, Tanaka K. Identity-based information security management for personal computer networks. IEEE J Sel Areas Commun 1989;7(2):290 – 4.
Okamoto E, Tanaka K. Key distribution system based on identification information. IEEE J Sel Areas Commun 1989;7(4):481 – 5.
Schnorr CP. Efficient signature generation for smart cards. J Cryptology 1991;4(3):161 – 74.
Shamir A. Identity-based cryptosystem and signature schemes. Cryptology—Crypto’84. New York: Springer;
1984. p. 47 – 53.
Tanaka H. A realization scheme for the identity-based cryptosystem. Proc Crypto’87 1987;340– 9.
Tsai YW, Hwang T. ID-based public key cryptosystems based on Okamoto and Tanaka’s ID-based one way communication scheme. Electron Lett 1990;26(10):666 – 8.
Tseng YM, Jan JK. ID-based cryptographic schemes using a non-interactive public-key distribution system. The 14th Annual Computer Security Applications Conference; 1998. p. 237 – 43.
Tsujii S, Itoh T, Kurosawa K. ID-based cryptosystem using discrete logarithm problem. Electron Lett 1987;23:
1318 – 20.
Tsujii S, Chao J, Araki K. A simple ID-based for key sharing. IEEE J Sel Areas Commun 1993;11(5):730 – 4.
Wells Jr AL. A polynomial form for logarithms modulo a prime. IEEE Trans Inf Theory 1984;845– 6.
Wei-Bin Leereceived his BS degree from the Department of Information and Computer Engineering, Chung-Yuan Christian University, Chungli, Taiwan, in 1991 and his MS degree in Computer Science and Information Engineering from National Chung Cheng University, Chiayi, Taiwan in 1993. He received his PhD degree in 1997 from National Chung Cheng University. Since 1999, he has been with the Department of Information Engineering at Feng Chia University, where he is currently an associate professor. His research interests currently include cryptography, information security management, steganography, and network security. He is an honorary member of the Phi Tau Phi Scholastic Honor Society.
Kuan-Chieh Liaoreceived his BS degree from the Department of Information Engineering and Computer Science, Feng Chia University, Taichung, Taiwan, in 2001, and his MS degree in Information Engineering and Computer Science, Feng Chia University, Taichung, Taiwan, in 2002. He is currently pursuing his PhD degree in Department of Information Engineering and Computer Science, Feng Chia University. His research interests currently include cryptography, steganography, and network security.