The present invention relates to a cryptographic method and apparatus; in particular, the present invention relates to an identifier-based cryptographic method and apparatus.
As is well known to persons skilled in the art, in “identifier-based” cryptographic methods the encryption key used to encrypt a message is based on a sender-chosen string and public data, the corresponding decryption key being computed, potentially subsequent to message encryption, using the sender-chosen string and private data associated with the public data. Frequently, the sender-chosen string serves to “identify” the intended message recipient and this has given rise to the use of the label “identifier-based” or “identity-based” generally for these cryptographic methods. However, depending on the application to which such a cryptographic method is put, the sender-chosen 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 encryption key. Accordingly, the use of the term “identifier-based” herein in relation to cryptographic methods and apparatus is to be understood simply as implying that the encryption key is based on a sender-chosen, cryptographically unconstrained, string whether or not the string serves to identify the intended recipient, and that the corresponding decryption key can be subsequently computed from the string. 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.
Identifier-Based Encryption (IBE) is an emerging cryptographic schema A number of IBE cryptographic methods are known, including:
Generally, in IB encryption/decryption methods, a trusted party carries out one or more actions (such as identity checking) in accordance with information in the sender-chosen string, before enabling a recipient to recover a message encrypted by a message sender. Usually, the trusted party will generate an IB decryption key and provide it to the recipient for the latter to use in decrypting the encrypted message. However, it is also possible to provide IB encryption/decryption methods in which the trusted party must itself carry out the decryption since it involves knowledge of a secret belonging to the trusted party as well as use of the IB decryption key. This is the case for the RSA-based IB method described in U.S. Pat. No. 6,275,936 where the decryption exponent is dynamically computed from the encryption exponent, the latter being a hash of the sender-chosen string. A potential disadvantage of the trusted party carrying out message decryption is that it risks compromising the recipient's privacy. In the afore-mentioned U.S. patent, this potential disadvantage is overcome by the recipient blinding the encrypted message before passing it to the trusted party (a decryption box) and then un-blinding the returned decrypted, but still blinded, message.
It is an object of the present invention to provide novel identifier-based cryptographic methods and systems.
According to a first aspect of the present invention, there is provided a cryptographic method comprising a first party:
In preferred embodiments of the invention, the foregoing method is used to provide an identifier-based form of the Elgamal encryption/decryption system. The ElGamal cryptosystem is described in the paper: “A public key cryptosystem and a signature scheme based on discrete logarithins” (IEEE Transactions on Information Theory, Vol. IT-31 No. 4 July 1985, Taher ElGamal) and is itself based on the well-known Diffie-Hellman key distribution scheme.
The identifier-based encryption/decryption methods provided by preferred embodiments of the present invention present a different distribution of computational load to other identifier-based systems (such as the RSA-based system described in the above-referenced U.S. patent) and in appropriate circumstances offers performance advantages over the prior art.
According to a second aspect of the present invention, there is provided a cryptographic method comprising a sender of a message m effecting steps of:
According to a third aspect of the present invention, there is provided cryptographic apparatus comprising a first computing entity comprising:
According to a fourth aspect of the present invention, there is provided a trusted-party entity comprising:
Embodiments of the invention will now be described, by way of non-limiting example, with reference to the accompanying diagrammatic drawings, in which:
The cryptographic methods and apparatus described below with respect to
As preferred embodiments of the invention are based on the ElGamal encryption/decryption scheme, this latter scheme will first be briefly reviewed with reference to
Initial Set Up Phase
As will be appreciated by persons skilled in the art, the sender A and recipient B can be considered as having effected a Diffie-Hellman type key exchange in that the quantity yr mod p computed by the sender A is equivalent to the quantity hx mod p computed by the recipient, (both these quantities corresponding to gr.x mod p, the Diffie-Hellman key distributed between A and B). However, it is also possible to consider the process in terms of B having a public key (g, p, y) and a private key x, the sender A using B's public key to encrypt the message m and B using its private key to recover the message.
Turning now to a consideration of embodiments of the present invention, in the
Initial Set Up Phase
The transmissions are preferably integrity protected in any suitable manner.
With z and r both 160 bits, the main computational load on the sender is one 160-bit exponentiation and one 320-bit exponentiation (assuming steps 8 and 11 are combined), whilst the main computational load on the TA is one 320-bit exponentiation and one inversion.
It will be appreciated by persons skilled in the art that g should be chosen randomly but such that:
gq=1 mod p
where q is a large prime (typically at least 160 bits) that divides (p-1).
It should be noted that the multiplication effected in step 11 can be replaced by any modulo-p invertible operation for combining yr.z and m (the operation being inverted in step 16). Thus, for example, J can be computed as:
m⊕H(yr.z mod p)
where ⊕ is the Exclusive-OR function and H is a hash function. The message is subsequently recovered by the TA computing:
J⊕H(hx.z mod p).
As regards the contents of the string STR chosen by the sender, as already indicated this string may be any string though in many cases restrictions will be placed on the string—for example, the string STR may be required to comply with a particular XML schema.
Generally, the string STR is used to convey to the trusted authority information concerning actions to be taken by the trusted authority when it receives the encrypted message for decryption. The information in the string STR may relate to actions to be taken by the trusted authority that do not affect message decryption—for example, the trusted authority TA may be required to send a message to the message sender A at the time the TA decrypts the message concerned. However, the information in the string STR will frequently specify one or more conditions to be checked by the trusted authority as being satisfied before the trusted authority decrypts the related encrypted message (or before returning the corresponding decrypted message to the recipient B concerned).
For example, the string STR may comprise a recipient identity condition identifying a specific intended message recipient; in this case, the trusted authority carries out an authentication process with the recipient B presenting the related message for decryption to check that the recipient concerned meets the recipient-identity condition.
Rather than identifying an intended recipient as a particular individual, the string STR may comprise one or more conditions specifying one or more non-identity attributes that the recipient must possess; for example, a condition may specify that a recipient must have a certain credit rating. Again, it is the responsibility of the trusted authority to check out this condition before producing the decrypted message for a recipient presenting the encrypted message for decryption.
The string STR may additionally or alternatively comprise one or more conditions unrelated to an attribute of the intended recipient; for example, a condition may be included that the message concerned is not to be decrypted before a particular date or time.
Whatever the conditions relate to, the string STR may directly set out the or each condition or may comprises one or more condition identifiers specifying corresponding predetermined condition known to the trusted authority (in the latter case, the trusted authority uses the or each condition identifier to look up the corresponding condition to be checked).
In overview of the
Similarly, the actions of the TA can be viewed as equivalent to:
Alternatively, viewed in terms of the TA having a public key (p, g, y) and private key (x), in the
A potential drawback of the
The TA carries out its processing steps 14 to 18 as before but using J′ rather than J; the result of step 16 is now the recovery of mk—that is, the blinded but decrypted message—rather than the message m. In order for B to un-blind the message, step 18 now becomes:
It will be appreciated that the blinding/un-blinding operations can differ from those described above. For example, blinding can be effected by computing a modulo-p division of J by k, in which case un-blinding would be effected by a modulo-p multiplication by k of the decrypted, but still blinded, message returned by the TA.
Many variants are possible to the above-described embodiments of the invention. Thus, in certain situations it may be required that a message should only be decryptable with the cooperation of multiple trusted authorities each of which would typically have a different associated public and private data. One such situation where this may be desirable is where the sender wishes to impose multiple conditions but no single trusted authority is competent to check all conditions—in this case, different trusted authorities can be used to check different conditions. Another situation in which multiple trusted authorities may be required is where there is a concern that a trust authority may have access to the encrypted, but not blinded, messages passing from A to B and it is important to prevent the trust authority reading the messages—in this case, multiple trusted authorities can be used together in a manner such that no one authority can read the messages passing from A to B.
Various arrangements are possible for involving multiple trusted authorities, including:
Number | Date | Country | Kind |
---|---|---|---|
0413056.3 | Jun 2004 | GB | national |
Number | Name | Date | Kind |
---|---|---|---|
6275936 | Kyojima et al. | Aug 2001 | B1 |
7398393 | Mont et al. | Jul 2008 | B2 |
20020103999 | Camnisch et al. | Aug 2002 | A1 |
20030095661 | Harrison | May 2003 | A1 |
20040151310 | Fu et al. | Aug 2004 | A1 |
20040252830 | Chen et al. | Dec 2004 | A1 |
20050002528 | Chen et al. | Jan 2005 | A1 |
20070041583 | Boneh et al. | Feb 2007 | A1 |
Number | Date | Country |
---|---|---|
2351594 | Jan 2001 | GB |
2 384 406 | Jul 2003 | GB |
2 395 872 | Jun 2004 | GB |
03017559 | Feb 2003 | WO |
WO 03063410 | Jul 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20050276414 A1 | Dec 2005 | US |