The present invention relates to methods and apparatus for implementing an identifier-based signcryption cryptographic scheme. A “signcryption” scheme is one that combines both data encryption and signature to obtain private and authenticated communications.
As is well known to persons skilled in the art, in “identifier-based” cryptographic methods a public, cryptographically unconstrained, string is used in conjunction with a public key of a trusted authority to carry out tasks such as data encryption and signing. The complementary tasks, such as decryption and signature verification, require the involvement of the trusted authority to carry out a computation based on the public string and a private key that is related to its public data. In message-signing applications and frequently also in message encryption applications, the string serves to “identify” a party (the sender in signing applications, the intended recipient in encryption applications); this has given rise to the use of the label “identifier-based” or “identity-based” generally for these cryptographic methods. However, at least in certain encryption applications, the string may serve a different purpose to that of identifying the intended recipient and, indeed, may be an arbitrary string having no other purpose than to form the basis of the cryptographic processes. Accordingly, the use of the term “identity-based” or “identifier-based” herein in relation to cryptographic methods and systems is to be understood simply as implying that the methods and systems are based on the use of a cryptographically unconstrained string whether or not the string serves to identify the intended recipient. Furthermore, as used herein the term “string” is simply intended to imply an ordered series of bits whether derived from a character string, a serialized image bit map, a digitized sound signal, or any other data source.
The current most practical approach to building identifier-based cryptosystems uses bilinear pairings. A brief overview of pairings-based cryptography will next be given. In the present specification, G1 and G2 denote two algebraic groups of large prime order l in which the discrete logarithm problem is believed to be hard and for which there exists a non-degenerate computable bilinear map p, for example, a Tate pairing or Weil pairing. Note that G1 is a [l]-torsion subgroup of a larger algebraic group G0 and satisfies [l]P=O for all P ε G1 where O is the identity element, l is a large prime, and l*cofactor=number of elements in G0. The group G2 is a subgroup of a multiplicative group of a finite field.
For the Weil pairing:, the bilinear map p is expressed as
The Tate pairing can be similarly expressed though it is possible for it to be of asymmetric form:
Generally, the elements of the groups Go and GI are points on an elliptic curve (typically, though not necessarily, a supersingular elliptic curve); however, this is not necessarily the case.
For convenience, the examples given below assume the use of a symmetric bilinear map (p: G1×G1→G2) with the elements of GI being points on an elliptic curve; however, these particularities, are not to be taken as limitations on the scope of the present invention.
As is well known to persons skilled in the art, for cryptographic purposes, modified forms of the Weil and Tate pairings are used that ensure p(P,P)≠1 where P ε G1; however, for convenience, the pairings are referred to below simply by their usual names without labeling them as modified.
As the mapping between G1 and G2 is bilinear, exponents/multipliers can be moved around.
For example if a, b, c ε Z (where Z is the set of all integers) and P, Q ε G1 then
A normal public/private key pair can be defined for a trusted authority:
With the cooperation of the trusted authority, an identifier-based public key/private key pair <QID, SID> can be defined for a party with identity string ID where:
Further background regarding Weil and Tate pairings and their cryptographic uses (such as for encryption and signing) can be found in the following references:
With regard to the latter reference, it may be noted that this reference describes both a fully secure encryption scheme using the Weil pairing and, as an aid to understanding this fully-secure scheme, a simpler scheme referred to as “BasicIdent” which is acknowledged not to be secure against a chosen ciphertext attack.
As already mentioned above, the present invention is concerned with signcryption cryptographic schemes. A “signcryption” primitive was proposed by Zheng in 1997 in the paper: “Digital Signcryption or How to Achieve Cost(Signature & Encryption)<<Cost(Signature)+Cost(Encryption).” Y. Zheng, in Advances in Cryptology—CRYPTO '97, volume 1294 of Lecture Notes in Computer Science, pages 165-179, Springer-Verlag, 1997. This paper also proposed a discrete logarithm based scheme.
Identity-based signcryption is signcryption that uses identity-based cryptographic algorithms. A number of identity-based signcryption schemes have been proposed such as described in the paper “Multipurpose Identity-Based Signcryption: A Swiss Army Knife for Identity-Based Cryptography” X. Boyen, in Advances in Cryptology—CRYPTO 2003, volume 2729 of Lecture Notes in Computer Science, pages 382-398, Springer-Verlag, 2003. This paper also proposes a security model for identity-based signcryption that is based on six algorithms SETUP, EXTRACT, ENCRYPT, DECRYPT and VERIFY. For convenience of describing the prior art and the preferred embodiments of the invention, a similar set of six algorithms is used herein and the functions of each of these algorithms will now be described with reference to
In
The marking of a quantity with ′ (as in m′) is to indicate that its equivalence to the unmarked quantity has to be tested.
The above individual algorithms 20 to 25 have the following consistency requirement. If:
Then the following must hold:
It should be noted that other ways of modelling identity-based signcryption exist; for example, the signing and encryption algorithms may be treated as a single signcryption algorithm as are the decryption and verification algorithms. However, the above-described model will be used in the present specification.
The implementation of a signcryption scheme using the above six algorithms is straight-forward:
It will be appreciated that the execution of EXTRACT to provide SB can be carried out at any time before DECRYPT is run.
The specific identity-based signcryption scheme described in the above-referenced paper by Boyen is based on bilinear pairings with the algorithms being implemented as follows:
SETUP
Establish public parameters G1, G2, l, q and the following cryptographic hash functions:
Choose P such that <P>=G1 that is, P is a generator for the cyclic group G1.
Choose s uniformly at random from Zl*.
Compute the global public key R←sP.
EXTRACT
To extract the private key for user U with IDU ε {0,1}k
For user A with identity IDA to sign a message m ε {0,1}″ with private key SA corresponding to public key QA←H1(IDA):
For user A with identity IDA to encrypt message m, using r and a output by SIGN, for user B with identity IDB:
For user B with identity IDB to decrypt ciphertext c′: <Y′,f′, v′> using SB←sH1(IDB):
To verify that the signature σ′ on message m′ is that of user A where A has identity IDA:
The foregoing signature algorithm SIGN is based on an efficient signature scheme proposed in the paper “An Identity-Based Signature from Gap Diffie-Hellman Groups” J. C. Cha and J. H. Cheon, in Public Key Cryptography—PKC 2003, volume 2567 of Lecture Notes in Computer Science, pages 18-30, Springer-Verlag, 2003.
It is an object of the present invention to provide an identity-based signcryption scheme with improved efficiency.
According to one aspect of the present invention, there is provided an identifier-based signcryption method in which a first party associated with a first element QA signcrypts subject data m intended for a second party associated with a second element QB, the first and second elements being formed from identifier strings IDA IDB of the first and second parties respectively such that the first and second elements are both members of an algebraic group G0 with at least one of these elements being in a subgroup G1 of G0 where G1 is of prime order l and in respect of which there exists a computable bilinear map p; the method comprising the first party:
The signature step is based on the same signature algorithm as used by the Boyen prior art signcryption scheme described above; however, the encryption step uses a more efficient algorithm to that of Boyen. In fact, analysis shows that the encryption step uses an algorithm similar to the “BasicIdent” encryption algorithm described in the above-mentioned paper by Boneh and Franklin. However, the way the encryption step is carried out with respect to the signature step now ensures that the signcryption method of the invention is secure against a chosen ciphertext attack unlike the “BasicIdent” algorithm itself.
According to another aspect of the present invention, there is provided an identifier-based signcryption method in which a second party associated with a second element QB decrypts and verifies received ciphertext <X′,f′> that is purportedly a signcryption of subject data m by a first party associated with a first element QA, the first and second elements being formed from identifier strings IDA, IDB of the first and second parties respectively such that the first and second elements are both members of an algebraic group G0 with at least one of these elements being in a subgroup G1 of G0 where G1 is of prime order l and in respect of which there exists a computable bilinear map p; the method comprising the second party:
It will be appreciated by persons skilled in the art that the check carried by the second party and expressed above as:
The present invention also encompasses apparatus, systems and computer program products embodying the methods of the invention.
Embodiments of the invention will now be described, by way of non-limiting example, with reference to the accompanying diagrammatic drawings, in which:
The signcryption scheme implemented by the
SETUP
Establish public parameters G1, G2, q, l and the following cryptographic hash functions:
Choose P such that <P>=G1 that is, P is a generator for the cyclic group G1.
Choose s uniformly at random from Zl*.
Compute the global public key R←sP.
EXTRACT
To extract the private key for user U with IDU ε {0,1}k
Thus, user A has a public key QA←H1(IDA) and private key SA←sQA, and user B has a public key QB←H1(IDB) and private key SB←sQB.
SIGN
For user A with identity IDA to sign a message m ε {0,1}″ with private key SA corresponding to public key QA←H1(IDA):
For user A with identity IDA to encrypt message m, using r and σ output by SIGN, for user B with identity IDB:
For user B with identity IDB to decrypt ciphertext c′: <X′,f′> using SB:
To verify user A's signature c on message m′ where A has identity IDA′:
As regards application of the above algorithms to the system shown in
It will be appreciated that the functionality of the described algorithms will generally be implemented as program code running on the relevant computing entity, this latter typically being built around a general purpose program-controlled processor, however, it is also possible to provide dedicated hardware for executing at least some of the cryptographic processes involved.
Table 1 below gives comparative figures for the efficiency of the
Both the number of dominant operations are listed and comparative timings for signing/encryption and decryption/verification. The timings were obtained for an instantiation of G1, G2 and p using the supersingular curve E: y2=x3+x defined over Fq where q is a 512-bit prime. This curve has q+1 points and the value of q was chosen such that q+1 has a 160-bit prime factor l. In this case the group GI is the subgroup of order l in E(Fq) and G2 is the l-th roots of unity in F*q2. The same computing platform was used for all operations, in this case a 667MHz G4 PowerPC running implementations written in C.
As can be seen from Table 1, the IBSC scheme is significantly more efficient, particularly during decryption/verification, than the prior-art MIBS scheme.
It will be appreciated that many variants are possible to the above described embodiments of the invention. For example, in the ENCRYPT algorithm used in
In the embodiment described above with reference to
It will be appreciated that the order of concatenation of concatenated components does not matter provided this is known to both parties A and B. Indeed, these components can be combined in ways other than by concatenation. Thus, the concatenation carried out during signing and verification can be replaced by any deterministic combination function, whilst the concatenation carried out during encryption can be replaced by any combination function that is reversible (as the decryption process needs to reverse the combination done in the encryption process). It is also possible to include additional components into the set of components subject to combination.
It will be further appreciated that the message m can comprises any subject data including text, an image file, a sound file, an arbitrary string, etc.
In the foregoing description of embodiments of the invention it has been assumed that all the elements P, QA and QB (and their derivatives R, SA, SB) are members of G1 and that the bilinear map p has the form:
| Number | Date | Country | Kind |
|---|---|---|---|
| 0325527.0 | Nov 2003 | GB | national |
| 0415779.8 | Jul 2004 | GB | national |