Submitted Successfully!
To reward your contribution, here is a gift for you: A free trial for our video production service.
Thank you for your contribution! You can also upload a video entry or images related to this topic.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki -- 1440 2022-10-25 01:50:32

Video Upload Options

Do you have a full video?


Are you sure to Delete?
If you have any further questions, please contact Encyclopedia Editorial Office.
HandWiki. ID-Based Encryption. Encyclopedia. Available online: (accessed on 25 June 2024).
HandWiki. ID-Based Encryption. Encyclopedia. Available at: Accessed June 25, 2024.
HandWiki. "ID-Based Encryption" Encyclopedia, (accessed June 25, 2024).
HandWiki. (2022, October 25). ID-Based Encryption. In Encyclopedia.
HandWiki. "ID-Based Encryption." Encyclopedia. Web. 25 October, 2022.
ID-Based Encryption

ID-based encryption, or identity-based encryption (IBE), is an important primitive of ID-based cryptography. As such it is a type of public-key encryption in which the public key of a user is some unique information about the identity of the user (e.g. a user's email address). This means that a sender who has access to the public parameters of the system can encrypt a message using e.g. the text-value of the receiver's name or email address as a key. The receiver obtains its decryption key from a central authority, which needs to be trusted as it generates secret keys for every user. ID-based encryption was proposed by Adi Shamir in 1984. He was however only able to give an instantiation of identity-based signatures. Identity-based encryption remained an open problem for many years. The pairing-based Boneh–Franklin scheme and Cocks's encryption scheme based on quadratic residues both solved the IBE problem in 2001.

public-key encryption quadratic residues ibe

1. Usage

Identity-based systems allow any party to generate a public key from a known identity value such as an ASCII string. A trusted third party, called the Private Key Generator (PKG), generates the corresponding private keys. To operate, the PKG first publishes a master public key, and retains the corresponding master private key (referred to as master key). Given the master public key, any party can compute a public key corresponding to the identity by combining the master public key with the identity value. To obtain a corresponding private key, the party authorized to use the identity ID contacts the PKG, which uses the master private key to generate the private key for identity ID.

As a result, parties may encrypt messages (or verify signatures) with no prior distribution of keys between individual participants. This is extremely useful in cases where pre-distribution of authenticated keys is inconvenient or infeasible due to technical restraints. However, to decrypt or sign messages, the authorized user must obtain the appropriate private key from the PKG. A caveat of this approach is that the PKG must be highly trusted, as it is capable of generating any user's private key and may therefore decrypt (or sign) messages without authorization. Because any user's private key can be generated through the use of the third party's secret, this system has inherent key escrow. A number of variant systems have been proposed which remove the escrow including certificate-based encryption,[1] secure key issuing cryptography[2] and certificateless cryptography.[3]

The steps involved are depicted in this diagram:

ID Based Encryption: Offline and Online Steps

2. Protocol Framework

Dan Boneh and Matthew K. Franklin defined a set of four algorithms that form a complete IBE system:

  • Setup: This algorithm is run by the PKG one time for creating the whole IBE environment. The master key is kept secret and used to derive users' private keys, while the system parameters are made public. It accepts a security parameter [math]\displaystyle{ \textstyle k }[/math] (i.e. binary length of key material) and outputs:
  1. A set [math]\displaystyle{ \textstyle \mathcal{P} }[/math] of system parameters, including the message space and ciphertext space [math]\displaystyle{ \textstyle \mathcal{M} }[/math] and [math]\displaystyle{ \textstyle \mathcal{C} }[/math],
  2. a master key [math]\displaystyle{ \textstyle K_m }[/math].
  • Extract: This algorithm is run by the PKG when a user requests his private key. Note that the verification of the authenticity of the requestor and the secure transport of [math]\displaystyle{ \textstyle d }[/math] are problems with which IBE protocols do not try to deal. It takes as input [math]\displaystyle{ \textstyle \mathcal{P} }[/math], [math]\displaystyle{ \textstyle K_m }[/math] and an identifier [math]\displaystyle{ \textstyle ID \in \left\{0,1\right\}^* }[/math] and returns the private key [math]\displaystyle{ \textstyle d }[/math] for user [math]\displaystyle{ \textstyle ID }[/math].
  • Encrypt: Takes [math]\displaystyle{ \textstyle \mathcal{P} }[/math], a message [math]\displaystyle{ \textstyle m \in \mathcal{M} }[/math] and [math]\displaystyle{ \textstyle ID \in \left\{0,1\right\}^* }[/math] and outputs the encryption [math]\displaystyle{ \textstyle c \in \mathcal{C} }[/math].
  • Decrypt: Accepts [math]\displaystyle{ \textstyle d }[/math], [math]\displaystyle{ \textstyle \mathcal{P} }[/math] and [math]\displaystyle{ \textstyle c \in \mathcal{C} }[/math] and returns [math]\displaystyle{ \textstyle m \in \mathcal{M} }[/math].

2.1. Correctness Constraint

In order for the whole system to work, one has to postulate that:

[math]\displaystyle{ \forall m \in \mathcal{M}, ID \in \left\{0,1\right\}^*: Decrypt\left(Extract\left(\mathcal{P}, K_m, ID\right), \mathcal{P}, Encrypt\left(\mathcal{P}, m, ID \right) \right) = m }[/math]

3. Encryption Schemes

The most efficient identity-based encryption schemes are currently based on bilinear pairings on elliptic curves, such as the Weil or Tate pairings. The first of these schemes was developed by Dan Boneh and Matthew K. Franklin (2001), and performs probabilistic encryption of arbitrary ciphertexts using an Elgamal-like approach. Though the Boneh-Franklin scheme is provably secure, the security proof rests on relatively new assumptions about the hardness of problems in certain elliptic curve groups.

Another approach to identity-based encryption was proposed by Clifford Cocks in 2001. The Cocks IBE scheme is based on well-studied assumptions (the quadratic residuosity assumption) but encrypts messages one bit at a time with a high degree of ciphertext expansion. Thus it is highly inefficient and impractical for sending all but the shortest messages, such as a session key for use with a symmetric cipher.

A third approach to IBE is through the use of lattices.

3.1. Identity-Based Encryption Algorithms

The following lists practical identity-based encryption algorithms

  • Boneh–Franklin (BF-IBE).
  • Sakai–Kasahara (SK-IBE).[4]
  • Boneh–Boyen (BB-IBE).[5]

All these algorithms have security proofs.

  • Certificate-less authenticated encryption

4. Advantages

One of the major advantages of any identity-based encryption scheme is that if there are only a finite number of users, after all users have been issued with keys the third party's secret can be destroyed. This can take place because this system assumes that, once issued, keys are always valid (as this basic system lacks a method of key revocation). The majority of derivatives of this system which have key revocation lose this advantage.

Moreover, as public keys are derived from identifiers, IBE eliminates the need for a public key distribution infrastructure. The authenticity of the public keys is guaranteed implicitly as long as the transport of the private keys to the corresponding user is kept secure (authenticity, integrity, confidentiality).

Apart from these aspects, IBE offers interesting features emanating from the possibility to encode additional information into the identifier. For instance, a sender might specify an expiration date for a message. He appends this timestamp to the actual recipient's identity (possibly using some binary format like X.509). When the receiver contacts the PKG to retrieve the private key for this public key, the PKG can evaluate the identifier and decline the extraction if the expiration date has passed. Generally, embedding data in the ID corresponds to opening an additional channel between sender and PKG with authenticity guaranteed through the dependency of the private key on the identifier.

5. Drawbacks

  • If a Private Key Generator (PKG) is compromised, all messages protected over the entire lifetime of the public-private key pair used by that server are also compromised. This makes the PKG a high-value target to adversaries. To limit the exposure due to a compromised server, the master private-public key pair could be updated with a new independent key pair. However, this introduces a key-management problem where all users must have the most recent public key for the server.
  • Because the Private Key Generator (PKG) generates private keys for users, it may decrypt and/or sign any message without authorization. This implies that IBS systems cannot be used for non-repudiation. This may not be an issue for organizations that host their own PKG and are willing to trust their system administrators and do not require non-repudiation.
  • The issue of implicit key escrow does not exist with the current PKI system, wherein private keys are usually generated on the user's computer. Depending on the context key escrow can be seen as a positive feature (e.g., within Enterprises). A number of variant systems have been proposed which remove the escrow including certificate-based encryption, secret sharing, secure key issuing cryptography and certificateless cryptography.
  • A secure channel between a user and the Private Key Generator (PKG) is required for transmitting the private key on joining the system. Here, a SSL-like connection is a common solution for a large-scale system. It is important to observe that users that hold accounts with the PKG must be able to authenticate themselves. In principle, this may be achieved through username, password or through public key pairs managed on smart cards.
  • IBE solutions may rely on cryptographic techniques that are insecure against code breaking quantum computer attacks (see Shor's algorithm)


  1. Craig Gentry Certificate-Based Encryption and the Certificate Revocation Problem Advances in Cryptology - Proceedings of EUROCRYPT 2003 (2003)
  2. Lee, Byoungcheon; Boyd, Colin; Dawson, Ed; Kim, Kwangjo; Yang, Jeongmo; Yoo, Seungjae (2004). "Secure Key Issuing in ID-based Cryptography". ACS Conferences in Research and Practice in Information Technology - Proceedings of the Second Australian Information Security Workshop-AISW 2004. 
  3. SS Al-Riyami, KG Paterson Certificateless Public Key Cryptography Advances in Cryptology - Proceedings of ASIACRYPT 2003 (2003)
  4. Sakai, Ryuichi; Kasahara, Masao (2003). "ID Based cryptosystems with pairing on elliptic curve". Cryptography ePrint Archive 2003/054. 
  5. Boneh, Dan; Boyen, X (2004). "Efficient selective-ID secure identity based encryption without random oracles". LNCS. Advances in Cryptography - EUROCRYPT 2004 (Springer-Verlag) 3027: 223–238. doi:10.1007/978-3-540-24676-3_14. ISBN 978-3-540-21935-4.
Subjects: Others
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to :
View Times: 660
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 25 Oct 2022
Video Production Service