Skip to main content
Entropy logoLink to Entropy
. 2023 Sep 14;25(9):1334. doi: 10.3390/e25091334

Secure Ring Signature Scheme for Privacy-Preserving Blockchain

Lin Wang 1, Changgen Peng 2,*, Weijie Tan 1,2
Editors: Bill William Buchanan, Jawad Ahmad, Arslan Munir
PMCID: PMC10527618  PMID: 37761633

Abstract

Blockchain integrates peer-to-peer networks, distributed consensus, smart contracts, cryptography, etc. It has the unique advantages of weak centralization, anti-tampering, traceability, openness, transparency, etc., and is widely used in various fields, e.g., finance and healthcare. However, due to its open and transparent nature, attackers can analyze the ledger information through clustering techniques to correlate the identities between anonymous and real users in the blockchain system, posing a serious risk of privacy leakage. The ring signature is one of the digital signatures that achieves the unconditional anonymity of the signer. Therefore, by leveraging Distributed Key Generation (DKG) and Elliptic Curve Cryptography (ECC), a blockchain-enabled secure ring signature scheme is proposed. Under the same security parameters, the signature constructed on ECC has higher security in comparison to the schemes using bilinear pairing. In addition, the system master key is generated by using the distributed key agreement, which avoids the traditional method of relying on a trusted third authorizer (TA) to distribute the key and prevents the key leakage when the TA is not authentic or suffers from malicious attacks. Moreover, the performance analysis showed the feasibility of the proposed scheme while the security was ensured.

Keywords: blockchain, ring signature, privacy protection, distributed key generation, elliptic curve cryptography

1. Introduction

Blockchain technology is the underlying technology of Bitcoin, a concept mentioned by Nakamoto [1] in his Bitcoin white paper published in 2008, which has triggered new industrial and technological revolutions and is a popular research area at present. In essence, blockchain is a kind of distributed database [2], and its underlying chain structure is the data blocks arranged in chronological order, which inherits the technologies of smart contracts [3], peer-to-peer networks (P2P) [4], the consensus mechanism [5], cryptography, etc., has the unique advantages of weak centralization, being tamper-proof, traceability, openness, transparency, etc., and is able to realize the direct circulation of value between untrusted nodes without the need for third-party institutions, which not only reduces the trust cost of transactions, but also greatly shortens the interaction time. It is considered as a key technology to realize the transformation of the “information Internet” to the “value Internet” [6].

Blockchain’s technical advantages make it applicable to various domains. One of them is digital currencies, where Bitcoin and its derivatives are expanding fast. According to a 2017 report by ARK Investments, there are more than 10 million Bitcoin users worldwide, with over USD 150-million in daily transactions [7]. In the financial sector, blockchain technology is highly valued by central banks, who design their own digital currencies by applying or studying it. They use blockchain technology to enhance the traditional financial system, which suffers from long delays and low efficiency in reconciliation, clearing, and cross-border settlement, as well as the high costs of maintaining central ledger data. In healthcare, the companies and stakeholders are benefiting from blockchain technology, which helps them streamline business processes, improve patient outcomes, manage patient data, comply with regulations, cut costs, and leverage healthcare-related data more effectively [8]. In the energy sector, blockchain technology, which is based on decentralization, is seen as a game-changing technology for creating distributed energy systems. It offers a decentralized trust mechanism that can be used for distributed energy operations and can help overcome management weaknesses and challenges in distributed energy systems [9]. In the field of cultural industry, the data inerrancy and high trustworthiness of the blockchain industry can be utilized to carry out many businesses such as certificate storage, digital property rights protection, and cultural relic identification. Furthermore, there are other fields such as justice, military, and supply chains that are gradually using blockchain to improve the problems existing in each field.

As blockchain technology continues to develop and become widely used, the privacy leakage concerns confronting it are becoming increasingly noticeable and must be given sufficient attention. While the blockchain mechanism avoids potential failures of individual servers and the exposure of data in terms of data storage, all transactions have to be made public to all nodes in order to reach consensus among the decentralized blockchain nodes. This exposes the privacy of the transactions greatly, and a main challenge is the safeguarding of users’ identity privacy. Identity privacy refers to the connection between a user’s real identity and the blockchain nodes. The blockchain stores data in an unchangeable way as a distributed ledger that any node can access. Transactions on the blockchain are somewhat anonymous, but not completely secure against privacy breaches. With advanced computing techniques, an attacker can track and analyze the correlation of public data in a global ledger to reveal sensitive information. For example, if there are consistent and correlated transactions, an attacker can extract some user characteristics using a graph of transactions between different addresses [10]. Moreover, an attacker can search all possible transactions to obtain the transaction addresses and estimate the balances, which can help to infer the user’s identity and location [11]. Cryptography is the prevalent method for privacy protection among researchers. Therefore, it should be combined with blockchain technology to offer a suitable solution for the blockchain’s privacy issue and guarantee the safety of users’ data.

A common security technique in blockchain systems is to use digital signatures to check the integrity of a document or a message. This ensures non-repudiation. The ring signature scheme [12] is a special type of group signature [13], which uses a group of L in a user’s private key and L in all the users’ public keys to complete the signature; the signature of the verifier can only verify that the signature comes from the group, but who signed the name is unknown. The ring signature does not need a trusted center and can hide the identity of the signer, which protects the user’s privacy. Considering its features, the scheme can be applied to anonymous payment applications or untraceable transactions and also to other scenarios that require privacy protection, such as elections, voting, and identity verification. Therefore, we propose a new privacy protection scheme by combining the ring signature algorithm and blockchain technology. However, the key generation link of traditional ring signature algorithms requires a secret key management center, which will face the risk of key leakage and increase the probability of attackers forging ring signatures. Moreover, most of the ring signatures are constructed based on bilinear pairing, and the computational complexity is usually high, which may lead to longer signing and verification time. It also lacks security. In order to improve the efficiency and security of ring signatures, we also made a new design of the scheme.

To solve the above-mentioned issues in the blockchain system, this paper studied and analyzed the related ring signature schemes and designed a new ring signature scheme suitable for the blockchain environment by using the anonymity feature of the ring signature. The scheme is based on Shamir verification secret sharing theory [14] and the Feldmanprotocol [15]; the key generation link in the scheme was improved, and the main body of the scheme adopted the elliptic curve cryptography principle.

The main contributions of the paper are stated as follows:

  1. The algorithm exploits the concept of distributed key generation to create a system master key, which enhances the process of distributing the key by a trusted authorizer (TA) in traditional signature algorithms and eliminates the risk of key leakage when the TA is untrustworthy or subjected to malicious attacks.

  2. This scheme is a ring signature constructed based on ECC, which provides better security with the same length of key compared to the scheme based on bilinear pairing. This algorithm strengthens the signature’s unforgeability, which reduces the attackers’ probability of succeeding in cracking the key.

  3. This scheme improves the efficiency of ring signature generation and verification and is more compatible with the environment of blockchain systems.

The rest of this paper is organized as follows. In Section 2, we review different blockchain privacy-preserving schemes. In Section 3, we provide some preliminary concepts, including general ring signature algorithms and security model definitions. Section 4 describes the algorithms and system models of secure ring signature schemes. Section 5 proves the security of the proposed scheme, and Section 6 gives the efficiency and performance comparison of the signature schemes. Finally, the paper is summarized in Section 7.

2. Related Works

Blockchain technology faces challenges in its development in existing industries due to privacy breaches and other security issues. To protect users’ identity privacy in blockchain, different schemes have been suggested to increase the anonymity level. In order to resist the book analysis technique, researchers propose a defense mechanism for exchanging assets and obfuscating addresses, i.e., the address obfuscation mechanism, in response to the assumptions on which the technique is based. In 2014, Bonneau et al. [16] proposed the Mixcoin protocol, which enhances asset security through an electronic-signature-based commitment mechanism. In 2015, Valenta et al. [17] proposed the Blindcoin protocol, which guarantees the internal privacy of centralized hybrid coin schemes by using blind signature techniques. In 2018, Ziegeldorf et al. [18] proposed CoinParty; it occupies a unique position in the design space of hybrid services by decrypting the novel combination of hybrid nets and threshold signatures, combining the advantages of previously proposed centralized and decentralized hybrid services into a single system. The address obfuscation mechanism can protect the privacy of the ledger to a certain extent; however, the result of address obfuscation will still be stored in the public ledger, and an attacker can threaten user privacy to a certain extent by analyzing the obfuscated transactions with features.

Ledger information hiding mainly preserves the confidentiality of the ledger by encrypting the private data in the ledger and provides “credentials” through cryptographic techniques to keep the correctness of the blockchain ledger verifiable. Most of the existing techniques for the implementation of the ledger-information-hiding mechanism belong to zero-knowledge proof techniques [19], which means that zero-knowledge proofs do not convey any proof of knowledge other than the correctness of the proposition under discussion. Li et al. [20], based on the ring-zero-proof-of-knowledge and blockchain technology, proposed a secure and efficient fair transaction mechanism for a sharing environment. The mechanism utilizes ring-zero-knowledge proofs to hide transaction contents and relationships without affecting authentication by adding a new trusted player. However, zero-knowledge proofs have a high computational cost and storage space, require the use of complex cryptographic algorithms and a large number of data structures, and may affect the performance and scalability of blockchain systems.

Ring signature schemes allow participants to sign messages with the group name and preserve the confidentiality of the signer’s identity from disclosure. The ring signature technique has two main features: first, any member of the group can issue the correct signature alone; second, any member of the group only knows whether he or she has initiated the signature, and members outside the group only know whether the signer belongs to the group. A higher level of privacy is achieved by VOTOR, a practical remote voting scheme that uses product anonymization channels and linkable ring signatures. It was proposed by Thomas et al. [21]. An information sharing system that ensures the confidentiality of applicants was created by Patil et al. [22] using an ID-based ring signature technique. They removed the certificate validation process to make the system secure and reliable. A new ring signature scheme based on elliptic curves was proposed by Li et al. [23], which improves the signature unforgeability and anonymity compared with the traditional ring signature scheme. Wang et al. [24] proposed a flexible threshold ring signature scheme in chronological order, which in practice has the advantage of solving both the update problem and the chronological order problem. In addressing the difficulty of sharing medical records between healthcare organizations, Lai et al. [25] introduced a secure medical-data-sharing scheme based on traceable ring signatures and blockchain. Samra et al. [26] proposed a new framework, a certificate-less aggregation scheme based on traceable ring signatures (CLA-TRS), which ensures conditional privacy-preserving authentication in vehicular ad-hoc network (VANET) communications. Table 1 summarizes the application scenarios, techniques, advantages, etc., of the above schemes. It can be seen that most of the above schemes are based on bilinear pairing construction, and their security needs to be improved. Moreover, most of them rely on a trusted key generation center (KGC), which cannot avoid attacks and reduces the difficulty of forging signatures.

Table 1.

Comparison of ring signature schemes.

Scheme Scenario Techniques Advantages Drawbacks
 [21] Vote Bilinear
Hash
Anonymous-
channel
Linkable
Practical
Relies on trusted center
Lack of efficiency analysis
 [22] Cloud computing Bilinear
Hash
ID-based
Simplified management
High efficiency
Relies on trusted center
Does not support key
revocation and update
 [23] Blockchain ECC
Hash
Improves unforgeability
Improves anonymity
Lack of efficiency analysis
Relies on trusted center
 [24] Edge computing Bilinear
Hash
Threshold
Flexible
Renewable
Relies on trusted center
Lack of efficiency comparison
of related schemes
 [25] Medical sharing Bilinear
Hash
DKG
Traceable
Controllable
High computational cost
 [26] VANET Bilinear
Hash
ECC
Traceable
High efficiency
Relies on trusted center

3. Preliminaries

In this context, we will present some preliminary knowledge including elliptic curves, difficult assumptions, and the general ring signature algorithm and its security models below.

3.1. Elliptic Curve

An elliptic curve is not an ellipse; it is called an elliptic curve because the equation for the curve is similar to the equation for calculating the perimeter of an ellipse. In general, the curve equation of an elliptic curve is a cubic equation of the following form:

y2+axy+by=x3+cx2+dx+e,

where a,b,c,d, and e are real numbers satisfying some simple conditions.

Elliptic curves over finite fields are commonly used in cryptography, which refers to the curve defined by Equation (1) in which all coefficients are elements in a finite field GF(q), where q is a large prime number. The most-commonly used of these is the curve defined by Equation (2):

y2modq=(x3+ax+b)modq,

where a,bGF(q) and =(4a3+27b2) mod q0.

An elliptic curve is symmetric with respect to the X-axis, and the addition operation on it is defined as follows: if three points lie on the same line, the sum of them is O. Addition on an elliptic curve is defined as follows:

  1. O is the additive identity element, that is, for any point P of the elliptic curve, P+O=P.

  2. Let P1=(x,y) be a point on an elliptic curve whose additive inverse element is defined as P2=P1=(x,y). This is because, when the connection of P1 and P2 is extended to infinity, another point O on the elliptic curve is obtained, that is the three points P1,P2, and O on the elliptic curve are collinear, so P1+P2+O=O, P1+P2=O, that is P2=P1.

  3. Let P=(xp,yp),Q=(xq,yq) and PQ, then R=P+Q=(xr,yr) is determined by the following rule:
    xr(λ2xpxq)modq, (1)
    yr(λ2(xpxr)yp)modq, (2)
    where
    λ=yqypxqxpmodq,ifPQ3xp2+a2ypmodq,ifP=Q (3)
  4. The multiple of a point P is defined as 2P=P+P.

3.2. Problem Assumptions

Definition 1.

Elliptic curve discrete logarithm problem (ECDLP): Given any two points P, Q on an elliptic curve E(Fp), solving for the value x satisfying the equation Q=x·P is unsolvable in polynomial time.

3.3. Ring-Signature-Generation Algorithm

The ring signature is a unique type of group signature that uses a set of public keys instead of one. It hides the identity of the actual signer from the verifier. Unlike other group signatures, ring signatures do not require a manager or any coordination among the members. The basic ring signature has three components: KeyGen(), Sign(), and Verify():

  • KeyGen(): This algorithm needs to input a security parameter l and, then, generate a key pair (pk,sk) for each user, where pk is the public key and sk is the private key.

  • Sign(): This algorithm takes the message m, which needs to be encrypted, the private key sk of a ring member, and the public key set L={pk1,pk2,,pkn} of the selected ring members and generates a signature σ for the message m. One of the parameters in the signature σ follows a ring according to certain rules.

  • Verify(): This algorithm is a deterministic algorithm, which takes the public key set L={pk1,pk2,,pkn}, the message m, and the signature σ as the input and outputs “accept” if the verification passes and “reject” otherwise.

3.4. Security Models

The ring signature scheme is supposed to satisfy the requirements of correctness, unconditional anonymity, and unforgeability.

3.4.1. Game I Correctness

The output of the ring-signature-generation algorithm serves as the input for the ring signature verification algorithm, which always outputs acceptance. The unforgeability and unconditional anonymity of a ring signature scheme are defined by a game between a simulator R and an adversary A. To begin with, we introduce A’s inquirable oracle machines JO, CO, and SO:

  • Join oracle machine (JO(⊥) →PK): With this query, a new user is added to the system and the public key PK of the new user is output.

  • Corruption oracle machine (CO(PKi) →ski: The user’s public key PKi is input, and the corresponding private key ski is output.

  • Signed oracle machine (SO(m,n,L,PK) →σ): Input signed message m, and set L={PK1,PK2,,PKn} of public keys of size n; the signer’s public key PKπ(1nπ) returns a valid ring signature σ.

The definition of the general ring signature and the ring signature defined in this paper contains four basic algorithms: system initialization algorithm, key-generation algorithm, ring signature generation, and ring signature verification. The key point is that the general ring signature puts forward more-specific requirements for the signature-value-generation process: Given a message M, the public key (PK1,PK2,,PKn) of n members, the signer’s private key skπ(1πn), and a secure hash function, produce a set r1,r2,,rn,h1,h2,,hn, and finally, output the signature value σ, where rirj,ij,hi(1in) are the hash values determined by m,ri(1in) and the public keys of the ring members, the signature value σ is completely determined by r1,r2,,rn,h1,h2,,hn, and message m is decided.

3.4.2. Game II Unforgeability

The unforgeability of a ring signature is defined by the following game between a simulator R and an adversary A:

  • R generates the system parameters params and sends them to A.

  • A adaptively queriesoracles JO, CO, and SO and random oracles H.

  • A outputs a signature message M*, a set S* consisting of n user public keys, and two forged signature values σ0*, σ1*.

A is said to have won the above game if the following four conditions are met:

Step 1: σ0*, σ1* are valid ring signatures on the message M*, that is RVerify(M*, S*, σi*), (i{0,1}) → accept.

Step 2: All public keys in S* are obtained by querying the oracle JO.

Step 3: All the public keys in S* are not corrupted, that is the adversary cannot obtain the private keys of any ring member in S*.

Step 4: σ* is not obtained by querying the signed oracle machine SO.

A ring signature scheme is said to be unforgeable if, for any PPT adversary A, the probability of winning the above game is negligible.

3.4.3. Game III Unconditional Anonymity

The unconditional anonymity of a ring signature scheme is defined by a game between a simulator R and an adversary A with infinite computational power as follows:

  • R generates the system parameters params and sends them to A.

  • A can adaptively query join oracle machine JO.

  • A sends a signature message M* and a set S*=PK1,PK2,,PKn consisting of public keys of n users to R, where all public keys are obtained by the JO query. R randomly selects π{1,2,,n} and computes a signature σπ=Sign(M*,n,S*,skπ), where skπ is the private key corresponding to PKπ. Finally, R sends σπ to A.

  • A outputs a guess π{1,2,,n}.

A ring signature is said to satisfy unconditional anonymity if, for an adversary A with infinite computing power, the probability of guessing the correct signer π is at most 1n, where n is the cardinality of the public key set S.

4. Secure Ring Signature Scheme

In this section, a secure blockchain ring signature scheme is proposed by incorporating the idea of distributed key generation. The following is a detailed description of the system model and the signature algorithm.

4.1. System Description

The system model is shown in Figure 1 and contains entities such as the group users, the distributed generation center KDC, and the blockchain network. The purpose of the KDC here is to generate the system parameters, validate and manage the cluster personnel, and verify the signature. The specific scheme is described as follows:

Figure 1.

Figure 1

System model.

Step 1: The KDC picks the security parameter l and generates the system parameters for the signature.

Step 2: The user Aπ applies to the KDC to become a member of the group; Aπ sends IDπ to the KDC; the KDC passes the verification, returns Qπ, and adds the user Aπ to the group; the user completes the registration.

Step 3: The member Aπ interacts with other group members Ai (i=1,2,,n,iπ) through a secure channel to generate the system’s master private key and master public key.

Step 4: The member Aπ signs the data message m to generate signature σπ.

Step 5: All KDCs in the blockchain system verify the signature σπ and upload the data information and signatures to the blockchain database after verification.

Miner nodes in the blockchain network pack the set of transactions for a period of time and then continuously calculate the random numbers that meet the conditions to construct blocks that meet the predefined conditions for confirming the transactions. The KDCs mentioned in this paper can be considered as miner nodes, also known as full nodes, and users as regular nodes. Full nodes act as servers in the distributed network, and they maintain consensus rules among other nodes, as well as transaction validation. Ordinary nodes retain some of the information on the block. After the group users sign the data information, all KDCs verify the signatures and upload them into the blockchain network.

4.2. Algorithm Description

4.2.1. Setup Algorithm

The system server selects security parameters l and randomly picks a large prime number q>l. G is a base point on the elliptic curve. Let G1 be an additive group of order q generated by the generating element P. The hash functions are: H0:{0,1}*E(Fq),H1:{0,1}*Zq*,H2:{0,1}*×G1Zq*,H3:{0,1}*G1. N represents the number of authorized users; {q,G,G1,H0,H1,H2,H3,N} is the public parameter. When the system parameters are determined, every authorized user Ai,(i=1,2,N) picks a random polynomial of degree N1, fi(x)=ai0+ai1x+ai2x2++ai(N1)x(N1) over Zq*, where fi(0)=ai0. Each Ai computes and broadcasts Tij=Paij(modq)(j=0,1,,N1). Meanwhile, every authorized user Ai transmits the calculated secret value sik=fi(k) through a secure channel to the other Ak=(k=0,1,2,,N1,ki) in the group. After that, every Ak receives the secret value sik and determines if it is correct by using the formula Psik=?j=0N1(Tij)ij(modq). If the equation is not satisfied, the secret value is wrong, and Ak sends an error message to Ai, who has to resend the right secret value until the equation holds. Then, the master key S=i=1N1bi0(modq) and the master public key P0=S·P are established by the N authority members.

4.2.2. Key Generation

For each authorized signer of the system, Ai transmits its identity information IDi to the KDC. Then, the KDC randomly selects kiZq*, computes Qi=H3(IDi||ki), and secretly transmits it to Ai over a secure channel. Next, signer Ai computes Di=S·Qi, randomly picks xiZq*, and computes its private key ski=H2(xi·Di) and public key pki=skiG.

4.2.3. Signature Generation

Assuming that the signature user in the system is π, the public key is pkπ=skπG, and the private key is skπ=H2(xπ·Ds). Choose a set L={ID1,ID2,,IDn} consisting of n identities of other authorized users of the system, and if the public key pkπ of the system is not in L, assign the attribute values Yi,Ai for each public key pki as follows:

Step 1: Randomly chose vi,ti,riZq*, and compute:

Yi=(vi+ti)G,ifi=π(ti+ri)pki+viGifiπ (4)
Ai=(vi+ti)H0(pki),ifi=πviH0(pki)+(ti+ri)Iπifiπ (5)

where: Iπ=skπH0(pkπ) is a message signature image that prevents double-spending attacks in the system. It is obtained by mapping pki to a curve point in the finite field using H0(pki).

Step 2: Randomly select sZq*, and then, calculate:

h=H2(m||s). (6)
ci=H1(h,Y1,,Yn,A1,,An)i=1,iπnciifi=πti+riifiπ, (7)
di=(vi+ti)ciskiifi=πvi,ifiπ (8)

where: m stands for the content of the signature, and the final output of the transaction initiator π’s ring signature for the message m is σ=(Iπ,c1,c2,,cπ,,cn,d1,d2,,dπ,,dn).

4.2.4. Verify

The following steps can be used to verify the transaction signature σ by anyone who possesses the public keys of all the members in the ring signature.

ζi=cipki+diGηi=ciIπ+diH0(pki) (9)
i=1nci=H1(h,ζ1,ζ2,,ζn,η1,η2,,ηn) (10)

Compute ζi,ηi using Equation (9), and check if Equation (10) holds. If it does, the signature image Iπ in the signature is not used, and the signature is valid. If it does not, the signature image Iπ is used and the signature is invalid.

5. Security Analysis

5.1. Correctness Analysis

The verifier checks the transaction signature σ using Equation (10), and if it holds, the signature is valid. When iπ, the conversion of ζi is given as Equation (11) and ηi is given as Equation (12):

ζi=cipki+diG=(ti+ri)pki+viG=Yi (11)
ηi=diH0(pki)+ciIπ=viH0(pki)+(ti+ri)Iπ=Ai (12)

When i=π, the conversion of ζi,ηi is as follows:

ζi=cipki+diG=cipki+[(vi+ti)ciski]G=viG+tiG=Yi (13)
ηi=diH0(pki)+ciIπ=[(vi+ti)ciski]H0(pki)+ciskπH0(pkπ)=viH0(pki)+tiH0(pki)=Ai (14)

Therefore, based on the above relationship, the validity of our proposed scheme can be verified according to the following equation.

H1(h,ζ1,ζ2,,ζn,η1,η2,,ηn)=H1(h,Y1,Y2,,Yπ,,Yn,A1,A2,,Aπ,,An)=cπ+i=1,iπnci=i=1nci (15)

5.2. Unforgeability Analysis

Theorem 1.

Under a randomized oracle model, the messages m can be chosen adaptively by adversary A in Game II to attack. If there exists an algorithm that can win the ECDLP game in polynomial time T, then it is shown that the ECDLP hard problem can be broken with a non-negligible probability.

Proof. 

The purpose of challenger R is to compute the value of a when provided with a random instance of the discrete logarithm problem (P,aP). The challenger R sets the public key of the signer U* as: pki*=aP. In this scenario, R acts as a subroutine within A and takes on the role of the challenger in Game II. To simplify the discussion, let us assume that all queries made by the attacker A are distinct. Next, we elaborate on how the challenger R deals with A’s query:

Step 1, initialization: The challenger R proceeds to execute the initialized algorithm with a security parameter of l to obtain the system parameters. Subsequently, these system parameters are transmitted from R to the adversary A.

Step 2, hash query: This step consists of the challenger R creating an empty table L, where L holds pairs of two values, such as (xi,yi), where the challenger R randomly selects yi and sets H1(xi)=yi. When the adversary A queries H1(xi), R hands over yi to A and appends (xi,yi) to list L.

Step 3, public key query: When the adversary A queries the public key of a user, the challenger R halts if ski=ski*; otherwise, the challenger R gives the matching user public key pki to adversary A.

Step 4, private key query: When the adversary A queries the private key of a user, if pki=pki*, then R stops operating, in the absence of this, the R sends the appropriate user private key ski back to adversary A.

Step 5, ring signature query: The adversary A transmits information m and a public key collection L of N users to R, which returns a corresponding signature σ. Suppose there is a user identity pkπL such that pkspki*, then the adversary A signs the message using pkπ as the real signer and gives the signature σ. Alternatively, the adversary A will conduct the next steps:

  • Randomly choose vi,ti,ri,sZq*, and compute:
    Yi=(vi+ti)G,ifi=πviG+(ti+ri)pki*ifiπ (16)
    Ai=(vi+ti)H0(pki*),ifi=πviH0(pki*)+(ti+ri)Iπ*ifiπ (17)
    h=H2(m||s), (18)
    ci=H1(h,Y1,,Yn,A1,,An)i=1,iπnciifi=πti+riifiπ (19)
    di=(vi+ti)ciski*ifi=πvi,ifiπ (20)
  • The ring signature is given as σ*=(Iπ*,c1,c2,,cπ*,,d1,d2,,dπ*,,dn).

Step 6, forgery: At last, the adversary A provides the signer pki* with a signature with different information m*. This same result can be obtained by the challenger R, while both signatures σ and σ* are valid: σ=(Iπ,c1,c2,,cπ,,d1,d2,,dπ,,dn), σ*=(Iπ*,c1,c2,,cπ*,,d1,d2,,dπ*,,dn).

The challenger R returns the value corresponding to the private key a=skπ.

Hence, the adversary A for the instantiation (P,aP) can be found for a=skπ, which means that the ECDLP is solved. □

Assuming that A can forge valid ring signatures with a non-negligible probability, there exists an algorithm R that addresses the ECDLP in polynomial time. However, the ECDLP is known to be hard, so the probability of forging the ring signatures in our scheme will be negligible with a random oracle model. For the ring signature σ=(Iπ,c1,c2,,cπ,,d1,d2,,dπ,,dn), the adversary needs to obtain the signer’s private key in the computation even if the adversary randomly selects vi,ti,ri to forge Yi,Ai,Yπ,Aπ, and dπ. In the proposed scheme, the user’s public and private keys are calculated from the system’s master key pair, which is jointly generated by the authorized user group according to the distributed key-generation algorithm and is not issued by the trusted third party. Therefore, there is no third-party attack, so the user’s public and private keys are safe. Without knowing the key, it is infeasible to compute the key image Iπ=skπH0(pkπ), so an attacker cannot create the signature σ. Therefore, the scheme in this paper is unforgeable.

5.3. Unconditional Anonymity

Theorem 2.

In the signature scheme proposed in this paper, the signer has unconditional anonymity, i.e., for any algorithm T, any participant ensemble L=pk1,pk2,,pkn, and any pkπL, the probability Pr[pk=pk] is always 12, where the signer of π creates a ring signature: σ=(Iπ,c1,c2,,cπ,,d1,d2,,dπ,,dn).

Proof. 

Step 1: The challenger R computes the system parameters and gives them to the adversary A.

Step 2: The adversary A performs polynomially restricted ring signature queries adaptively.

Step 3: The adversary A outputs a message m, two different public keys pk1,pk2 selected from the set of public keys L consisting of authorized users in the challenge phase, and delivers all of this information to R. Next, R randomly chooses one of the two public keys to generate the ring signature and transmits the ring signature σ=(m,L,sku) to the adversary A.

Step 4: The adversary A performs polynomially restricted ring signature queries adaptively.

Step 5: Finally, the adversary A gives a public key pk{0,1}.

Step 6: The adversary A succeeds in this game if and only if pk=pk.

The output signature cannot be seen by any third party until the signer has voluntarily disclosed all information himself/herself. In the ring signature generation, the signer computes the Yi and Ai values needed to obtain ci and di by randomly picking the corresponding ti,vi,riZq* and also obtains the private key by randomly choosing xiZq* and computing ski=H2(xi·Di)Zq*. Therefore, the ring signature σ is uniformly distributed in G. The chance that a non-member can guess the real signer is at most 1/(n+1), and the chance that a member of the ring group can guess the real signer is at most 1/n, so the ring signature scheme meets unconditional anonymity. □

6. Performance Evaluation

In this section, the computational efficiency of the secure ring signature scheme based on distributed key generation proposed in this paper is analyzed. To achieve a credible security level, we adopted the experiment that has been performed for the computation evaluation in [25]. The experimental environment was: an i58500CPU@3.00GHz, 8GBRAM on an HP desktop, based on the Windows 10 operating system, under the Eclipse development environment, using JAVA Version 1.8.0 and JPBC Version 2.0.0 for the implementation, which uses the library Type A class curves to construct symmetric prime-order bilinear groups and performs Type A pairing on the super-singular elliptic curve E. The equation y2x3+x mod p defines E, where p3 mod 4, the embedding degree is two, and the order of G1 is q. The order of the group is 512 bit, and the order of the Galawa domain is 160 bit. The signatures of our scheme in the cryptographic operations can be found in Table 2. We define the execution time of some notations of the cryptography operations in milliseconds (ms) in Table 3.

Table 2.

Notations of cryptography operation.

Notation Crypto-Operation
SME ECC-based scalar multiplication operation.
AE ECC-based point addition operation.
HP Map-to-point operation.
H One-way hash function operation, which is negligible.
M Multiplication operation.
P Bilinear pair operation.
E Exponential calculation time.

Table 3.

Cryptography operations’ time in milliseconds.

Cryptography Operation TSME TAE THP TM TP TE
Execution time (ms) 1.7090 0.0075 4.406 0.042 5.071 8.31

In our proposed scheme, the user signature requires the ECC-based scalar multiplication operation, a hash operation mapping to points on elliptic curves, a multiplication operation, and a one-way hash operation mapping to a finite field of prime numbers, with the last one having negligible computational overhead. Therefore, the computational overhead of generating a signature is:

TSign=(4n2)TSME+(2n1)THP+TM

The signature verification process of this program mainly requires the ECC-based scalar multiplication operation. Thus, the computational cost is:

TVerify=4nTSME

The signature communication cost is (2n+1)L, where L is the bit length of the group G1, based on the signature-generation phase of our scheme. This shows that the signature length increases linearly with the number of users.

To conclude, the time consumption of the three different ring signature schemes in the signature-generation and signature-verification steps is summarized in Table 4. It was observed that our scheme took less time than the other schemes, both in the signature-generation phase and the signature-verification phase. This indicates that our signature scheme possesses higher signing and verification efficiency.

Table 4.

Efficiency analysis of ring signature algorithms.

Algorithm Signature Generation Signature Verification
[27] 6nTP+4nTE nTE+2nTP
[28] (2n1)TM+4nTE 2nTE+2TP
[25] (4n1)TM+(4n+6)TE nTE+2TP
Ours (4n2)TSME+(2n1)THP+TM 4nTSME

7. Conclusions

To address the privacy leakage problem faced by users in blockchain systems, this paper proposes a ring signature scheme suitable for blockchain. The design of the scheme is based on the elliptic curve cryptography and distributed key generation ideas. First of all, by generating the system master key through the DKG, the risk of key leakage when a trusted authorizer (TA) is attacked can be effectively reduced. Furthermore, the security analysis of the ring signature showed that the scheme enhances the unforgeability and anonymity of the signature. Under the same security parameter length, the elliptic-curve-based ring signature design is more secure than the traditional bilinear pairing design. Finally, by comparing with related signature schemes, our scheme had a shorter signature generation and verification time and higher efficiency. In view of the problem of the efficiency and communication overhead of the scheme increasing with the increase of the users, we will study the aggregation scheme of the ring signature in the future to improve the verification and communication efficiency.

Author Contributions

Conceptualization, C.P. and W.T.; Writing—original draft, L.W.; Supervision, C.P. and W.T.; Project administration, C.P. All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Funding Statement

This work was supported by the following projects: The National Key Research and Development Program of China (No. 2022YFB2701400), the National Natural Science Foundation of China (No. 62272124, No. 62361010), the Research Project of Guizhou University for Talent Introduction (No. [2020]61), the Cultivation Project of Guizhou University (No. [2019]56), and the Open Fund of Key Laboratory of Advanced Manufacturing Technology, Ministry of Education (GZUAMT2021KF[01]).

Footnotes

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

References

  • 1.Nakamoto S. Bitcoin: A Peer-to-Peer Electronic Cash System. Decentralized Business Review. 2008. [(accessed on 5 August 2023)]. p. 21260. Available online: https://bitcoin.org/en/bitcoin-paper.
  • 2.Kano Y., Nakajima T. A novel approach to solve a mining work centralization problem in blockchain technologies. Int. J. Pervasive Comput. Commun. 2018;14:15–32. doi: 10.1108/IJPCC-D-18-00005. [DOI] [Google Scholar]
  • 3.Buterin V. A next-generation smart contract and decentralized application platform. White Pap. 2014;3:1–2. [Google Scholar]
  • 4.Schollmeier R. A definition of peer-to-peer networking for the classification of peer-to-peer architectures and applications; Proceedings of the First International Conference on Peer-to-Peer Computing; Linköping, Sweden. 27–29 August 2001; pp. 101–102. [Google Scholar]
  • 5.DeGroot M.H. Reaching a consensus. J. Am. Stat. Assoc. 1974;69:118–121. doi: 10.1080/01621459.1974.10480137. [DOI] [Google Scholar]
  • 6.Yuan Y., Wang F.Y. Blockchain: The state of the art and future trends. Acta Autom. Sin. 2016;42:481–494. [Google Scholar]
  • 7.Burniske C., White A. Bitcoin: Ringing the Bell for a New Asset Class. Ark Invest (January 2017) 2017. [(accessed on 5 August 2023)]. Available online: https://research.ark-invest.com/hubfs/1_Download_Files_ARK-Invest/White_Papers/Bitcoin-Ringing-The-Bell-For-A-New-Asset-Class.pdf.
  • 8.Agbo C.C., Mahmoud Q.H., Eklund J.M. Blockchain technology in healthcare: A systematic review. Healthcare. 2019;7:56. doi: 10.3390/healthcare7020056. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Wang Q., Su M. Integrating blockchain technology into the energy sector—from theory of blockchain to research and application of energy blockchain. Comput. Sci. Rev. 2020;37:100275. doi: 10.1016/j.cosrev.2020.100275. [DOI] [Google Scholar]
  • 10.Ron D., Shamir A. Quantitative analysis of the full bitcoin transaction graph; Proceedings of the Financial Cryptography and Data Security: 17th International Conference, FC 2013; Okinawa, Japan. 1–5 April 2013; pp. 6–24. [Google Scholar]
  • 11.Fleder M., Kester M.S., Pillai S. Bitcoin transaction graph analysis. arXiv. 20151502.01657 [Google Scholar]
  • 12.Rivest R.L., Shamir A., Tauman Y. How to leak a secret; Proceedings of the Advances in Cryptology—ASIACRYPT 2001: 7th International Conference on the Theory and Application of Cryptology and Information Security; Gold Coast, Australia. 9–13 December 2001; pp. 552–565. [Google Scholar]
  • 13.Chaum D., Van Heyst E. Group signatures; Proceedings of the Advances in Cryptology—EUROCRYPT’91: Workshop on the Theory and Application of Cryptographic Techniques; Brighton, UK. 8–11 April 1991; pp. 257–265. [Google Scholar]
  • 14.Shamir A. How to share a secret. Commun. ACM. 1979;22:612–613. doi: 10.1145/359168.359176. [DOI] [Google Scholar]
  • 15.Feldman P. A practical scheme for non-interactive verifiable secret sharing; Proceedings of the 28th Annual Symposium on Foundations of Computer Science; Washington, DC, USA. 12–14 October 1987; pp. 427–438. [Google Scholar]
  • 16.Bonneau J., Narayanan A., Miller A., Clark J., Kroll J.A., Felten E.W. Mixcoin: Anonymity for bitcoin with accountable mixes; Proceedings of the Financial Cryptography and Data Security: 18th International Conference, FC 2014; Christ Church, Barbados. 3–7 March 2014; pp. 486–504. [Google Scholar]
  • 17.Valenta L., Rowan B. Blindcoin: Blinded, accountable mixes for bitcoin; Proceedings of the Financial Cryptography and Data Security: FC 2015 International Workshops, BITCOIN, WAHC, and Wearable; San Juan, Puerto Rico. 30 January 2015; pp. 112–126. [Google Scholar]
  • 18.Ziegeldorf J.H., Matzutt R., Henze M., Grossmann F., Wehrle K. Secure and anonymous decentralized Bitcoin mixing. Future Gener. Comput. Syst. 2018;80:448–466. doi: 10.1016/j.future.2016.05.018. [DOI] [Google Scholar]
  • 19.Goldwasser S., Micali S., Rackoff C. Providing Sound Foundations for Cryptography: On the Work of Shafi Goldwasser and Silvio Micali. ACM; New York, NY, USA: 2019. The knowledge complexity of interactive proof-systems; pp. 203–225. [Google Scholar]
  • 20.Li B., Wang Y. RZKPB: A privacy-preserving blockchain-based fair transaction method for sharing economy; Proceedings of the 2018 17th IEEE International Conference on Trust, Security and Privacy in Computing and Communications/12th IEEE International Conference on Big Data Science and Engineering (TrustCom/BigDataSE); New York, NY, USA. 1–3 August 2018; pp. 1164–1169. [Google Scholar]
  • 21.Haines T., Boyen X. Votor: Conceptually simple remote voting against tiny tyrants; Proceedings of the Australasian Computer Science Week Multiconference; Canberra, Australia. 2–5 February 2016; pp. 1–13. [Google Scholar]
  • 22.Patil K., Wasnik C.T. An ID-based block ring signature system for secret sharing of data; Proceedings of the 2017 International Conference on Computer Communication and Informatics (ICCCI); Coimbatore, India. 5–7 January 2017; pp. 1–5. [Google Scholar]
  • 23.Li X., Mei Y., Gong J., Xiang F., Sun Z. A blockchain privacy protection scheme based on ring signature. IEEE Access. 2020;8:76765–76772. doi: 10.1109/ACCESS.2020.2987831. [DOI] [Google Scholar]
  • 24.Wang Z., Fan J. Flexible threshold ring signature in chronological order for privacy protection in edge computing. IEEE Trans. Cloud Comput. 2020;10:1253–1261. doi: 10.1109/TCC.2020.2974954. [DOI] [Google Scholar]
  • 25.Lai C., Ma Z., Guo R., Zheng D. Secure medical data sharing scheme based on traceable ring signature and blockchain. Peer-Netw. Appl. 2022;15:1562–1576. doi: 10.1007/s12083-022-01303-w. [DOI] [Google Scholar]
  • 26.Samra B., Fouzi S. New efficient certificateless scheme-based conditional privacy preservation authentication for applications in VANET. Veh. Commun. 2022;34:100414. doi: 10.1016/j.vehcom.2021.100414. [DOI] [Google Scholar]
  • 27.Cheng X., Guo R., Cheng Y. Construction of efficient ring signature scheme with revocation of anonymity. Commun. Eng. Des. Mag. 2015;36:857–861. [Google Scholar]
  • 28.Mao M., Zhou Z.X. A forward-secure anonymity signature scheme based on ring signature idea. Microcomput. Inf. 2010;26:62–63. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Not applicable.


Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES