Traceable ring-based co-signature method, device and electronic equipment

By embedding cryptographic index information and zero-knowledge proofs that can be decrypted and traced into the ring signature, the problem of traditional ring signatures being unable to trace malicious signers is solved, thus achieving the security and compliance of signers.

CN121530591BActive Publication Date: 2026-11-20中电信量子信息科技集团有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511930852.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-19
Publication Date
2026-11-20
Estimated Expiration
2045-12-19

AI Technical Summary

Technical Problem

Traditional ring signature technology lacks a traceability mechanism, making it impossible to locate malicious signers and failing to meet compliance and regulatory requirements.

Method used

By generating encrypted index information and zero-knowledge proofs, embedding decryptable traceability clues, and using the tracer's public key and basic matrix to encrypt the signer's binary position index, the signer's identity privacy is protected while being traceable.

Benefits of technology

It enables traceability of signers while protecting their identity and privacy, meeting the compliance auditing needs of scenarios such as finance and healthcare.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121530591B_ABST
    Figure CN121530591B_ABST
Patent Text Reader

Abstract

The application provides a traceable ring collaborative signature method and device and electronic equipment, and relates to the technical field of digital signature. The method comprises the following steps: obtaining a system public parameter, a tracer public key, a user public key ring structure and a to-be-signed message; generating a binary string random vector of each binary bit according to a binary position index of a target signer in the ring structure; encrypting each binary bit according to a tracer base matrix in the system public parameter, the binary string random vector of each binary bit and the tracer public key to generate encrypted index information; generating proof information by using a zero-knowledge proof generation algorithm according to the system public parameter, the tracer public key, the ring structure, the encrypted index information, a private key of the target signer, the binary position index, the binary string random vector and the to-be-signed message; and generating a ring signature according to the encrypted index information and the proof information. The application can generate a ring signature of a traceable signer and avoid malicious signature.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of digital signature technology, and more specifically, to a traceable ring-type collaborative signature method, apparatus, and electronic device. Background Technology

[0002] Cryptographic technology has evolved from classical cryptography to modern public-key cryptography. Digital signatures, as a core component, provide fundamental guarantees for the integrity, authenticity, and non-repudiation of electronic data.

[0003] With the increasing prevalence of multi-party collaboration scenarios, collaborative signature technology has emerged, allowing multiple participants to jointly generate signatures to express the collective will. Ring signatures, a special form of collaborative signature, allow users to anonymously generate signatures using a pre-defined set of members' public keys (i.e., a "ring"), hiding the identity of the actual signer. This has significant value in scenarios such as privacy-preserving voting and anonymous identity authentication.

[0004] However, traditional ring signatures overemphasize anonymity and lack a mechanism to trace malicious signers. In the event of repudiation or abuse, it is impossible to identify the responsible party through the signature itself, making it difficult to meet compliance and regulatory requirements. Summary of the Invention

[0005] The purpose of this application is to address the shortcomings of the prior art by providing a traceable ring-type collaborative signature method, apparatus, and electronic device, so as to generate a ring signature that can trace the signer and avoid malicious signatures.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, embodiments of this application provide a traceable ring-based collaborative signature method, the method comprising: Obtain system public parameters, tracer public key, ring structure composed of multiple user public keys, and message to be signed; Based on the binary position index of the target signer in the ring structure, generate a random vector of binary strings for each binary bit of the binary position index; Based on the tracer base matrix in the system public parameters, the random vector of the binary string for each binary bit, and the tracer public key, each binary bit is encrypted to generate encrypted index information; Based on the system public parameters, the tracer's public key, the ring structure, the encrypted index information, the target signer's private key, the binary position index, the binary string random vector, and the message to be signed, a zero-knowledge proof generation algorithm is used to generate proof information. A ring signature is generated based on the encrypted index information and the proof information, wherein the tracer uses the tracer's private key to perform traceability authentication of the ring signature.

[0007] Optionally, the step of obtaining the source tracer's public key includes: Randomly sample the short matrix and error matrix from the discrete Gaussian distribution matrix; The short matrix is ​​used as the source tracer's private key; The source tracer public key is generated based on the source tracer base matrix, the error matrix, and the short matrix.

[0008] Optionally, the step of generating the user's public key includes: A short vector is randomly sampled from the discrete Gaussian distribution vector to serve as each user's private key; The user public key for each user is generated based on the user public key matrix in the system public parameters and the short vector.

[0009] Optionally, the step of encrypting each binary bit based on the tracer base matrix in the system public parameters, the binary string random vector of each binary bit, and the tracer public key to generate encrypted index information includes: Based on the source tracer base matrix and the binary string random vector of each binary bit, generate the first encrypted index component of each binary bit; Based on the tracer's public key and the random vector of the binary string for each binary bit, each binary bit is encrypted to generate a second encrypted index component for each binary bit; The encrypted index information is generated based on the first encrypted index component and the second encrypted index component of multiple binary bits in the binary position index.

[0010] Optionally, after generating the ring signature based on the encrypted index information and the proof information, the method further includes: Based on the system public parameters, the tracer's public key, the ring structure, the encrypted index information, and the message to be signed, a challenge value is constructed using a preset hash function; The validity of the ring signature is verified using a zero-knowledge proof verification algorithm based on the challenge value and the proof information.

[0011] Optionally, the method further includes: The validity of the ring signature is verified. If the ring signature is a valid signature, the encrypted index information is decrypted according to the tracer's private key to determine the target location index of the target signer; The target signer's target user public key is determined in the ring structure based on the target location index; A proof of origin is generated based on the originator's public key, the ring signature, and the target user's public key. The proof of origin indicates that the decryption process was correct and that the target user's public key is the target signer's public key.

[0012] Optionally, the step of decrypting the encrypted index information based on the tracer's private key to determine the target location index of the target signer includes: The encrypted index information is decrypted using the source tracer's private key to generate a noise decryption result for each binary bit; Based on the comparison between the noise decryption result of each binary bit and the preset threshold, a reconstruction result for each binary bit is generated; The target position index is determined based on the reconstruction results of multiple binary bits.

[0013] Optionally, the method further includes: The validity of the ring signature and the proof of origin is verified; If both the ring signature and the source tracing proof are valid, the source tracing result is determined to be correct.

[0014] Secondly, embodiments of this application also provide a traceable ring-type collaborative signature device, the device comprising: The information acquisition module is used to acquire system public parameters, the tracer's public key, a ring structure composed of multiple user public keys, and the message to be signed; A random vector generation module is used to generate a random binary string vector for each binary bit of the binary position index based on the binary position index of the target signer in the ring structure. The information encryption module is used to encrypt each binary bit according to the tracer base matrix in the system public parameters, the binary string random vector of each binary bit, and the tracer public key, and generate encrypted index information; The proof information generation module is used to generate proof information using a zero-knowledge proof generation algorithm based on the system public parameters, the tracer's public key, the ring structure, the encrypted index information, the target signer's private key, the binary position index, the binary string random vector, and the message to be signed; The ring signature generation module is used to generate a ring signature based on the encrypted index information and the proof information, wherein the tracer is used to perform traceability authentication of the ring signature using the tracer's private key.

[0015] Optionally, the information acquisition module is specifically used to randomly sample a short matrix and an error matrix from a discrete Gaussian distribution matrix; use the short matrix as the tracer's private key; and generate the tracer's public key based on the tracer's base matrix, the error matrix, and the short matrix.

[0016] Optionally, the information acquisition module is further configured to randomly sample short vectors from the discrete Gaussian distribution vectors as the user's private key for each user; and generate the user's public key for each user based on the user public key matrix in the system public parameters and the short vectors.

[0017] Optionally, the information encryption module is specifically configured to generate a first encrypted index component for each binary bit based on the tracer base matrix and the random vector of the binary string for each binary bit; encrypt each binary bit based on the tracer public key and the random vector of the binary string for each binary bit to generate a second encrypted index component for each binary bit; and generate the encrypted index information based on the first and second encrypted index components of multiple binary bits in the binary position index.

[0018] Optionally, the device further includes: The validity verification module is used to construct a challenge value using a preset hash function based on the system public parameters, the tracer's public key, the ring structure, the encrypted index information, and the message to be signed; and to verify the validity of the ring signature using a zero-knowledge proof verification algorithm based on the challenge value and the proof information.

[0019] Optionally, the validity verification module is further configured to verify the validity of the ring signature; The tracing module is used to, if the ring signature is a valid signature, decrypt the encrypted index information according to the tracing source's private key to determine the target location index of the target signer; determine the target user public key of the target signer in the ring structure according to the target location index; and generate a tracing proof according to the tracing source's public key, the ring signature, and the target user public key, wherein the tracing proof indicates that the decryption process was correct and that the target user public key is the user public key of the target signer.

[0020] Optionally, the tracing module is specifically used to decrypt the encrypted index information according to the tracing person's private key to generate a noise decryption result for each binary bit; generate a reconstruction result for each binary bit based on the comparison result of the noise decryption result for each binary bit and a preset threshold; and determine the target location index based on the reconstruction results of multiple binary bits.

[0021] Optionally, the validity verification module is further configured to verify the validity of the ring signature and the tracing proof; if both the ring signature and the tracing proof are valid, the tracing result is determined to be correct.

[0022] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores program instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the traceable ring-based collaborative signature method as described in any of the first aspects.

[0023] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the traceable ring-based collaborative signature method as described in any of the first aspects.

[0024] The beneficial effects of this application are: The traceable ring-based collaborative signature method, apparatus, and electronic device provided in this application encrypt each bit of the signer's binary position index using the tracer's public key, a random vector of binary strings for each binary bit, and the tracer's basic matrix, generating encrypted index information. While protecting the signer's identity privacy, it embeds decryptable traceable clues. Thus, only those with the tracer's private key can decrypt the ring signature to trace whether the user who generated the ring signature is a user on the ring structure, ensuring the security of the signing user, enabling traceability of the signer, and meeting the compliance auditing needs of scenarios such as finance and healthcare.

[0025] Furthermore, the process of generating encrypted index information is proven using a zero-knowledge proof generation method, generating proof information so that the correctness of the encrypted index information can be verified through the proof information without revealing the signer's secret, thereby further authenticating the signer's identity. Attached Figure Description

[0026] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0027] Figure 1 A system model diagram of the traceable ring-based collaborative signature system provided in this application embodiment; Figure 2 A hierarchical architecture diagram of a traceable ring-based collaborative signature system provided in this application embodiment; Figure 3 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 1 ; Figure 4 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 2 ; Figure 5 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 3 ; Figure 6 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 4 ; Figure 7 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 5 ; Figure 8 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 6 ; Figure 9 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 7 ; Figure 10 A schematic diagram of the traceable ring-type collaborative signature device provided in the embodiments of this application; Figure 11 A schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of this application, but not all embodiments.

[0029] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0030] Furthermore, the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0031] It should be noted that, where there is no conflict, the features in the embodiments of this application can be combined with each other.

[0032] To better understand the solution of this application, the following explanations will first be provided for the relevant terms that may be involved in this application.

[0033] Post-Quantum Cryptography (PQC) is a new type of cryptographic scheme capable of resisting quantum computing attacks. With the development of quantum computers, classical cryptographic systems based on traditional problems such as discrete logarithms and large integer factorization face the risk of being broken by Shor's algorithm. PQC ensures the security of cryptographic systems in the post-quantum era by constructing encryption and signature protocols based on mathematical problems such as lattice theory, coding theory, multivariable equations, or hash functions. Its core objective is to design algorithms with provable security under both classical and quantum computing models, providing long-term security guarantees for future network infrastructure.

[0034] Lattice-Based Cryptography: Lattice cryptography is a core branch of quantum-resistant cryptography. Its security relies on the computational complexity of mathematical problems such as the Shortest Vector Problem (SVP) or the Learning with Errors (LWE). Lattice cryptography maps the key and ciphertext to vectors or points in a high-dimensional lattice space, utilizing the randomness of the lattice problem and noise interference to achieve encryption. Its advantages lie in its flexible construction, provably strong security, and ability to simultaneously support multiple functions such as encryption, signature, and homomorphic computation. Since there is currently no efficient solution to the lattice problem under quantum computing models, lattice cryptography has become an important candidate direction for post-quantum cryptography standardization.

[0035] Co-signature (CS): Co-signature is a cryptographic protocol that allows multiple participants to jointly generate a single digital signature. During the collaboration process, each participant contributes a partial signature fragment to the same message using their own private key, ultimately synthesizing a complete group signature. This technology solves the identity binding problem in multi-party joint authorization scenarios, ensuring that the signature result is unforgeable and verifies the collective will of all participants. It is suitable for scenarios requiring distributed decision-making, such as joint contract signing and blockchain multi-signature accounts.

[0036] Ring Signature (RS): A ring signature is a special anonymous collaborative signature technique. The signer selects several public keys (including their own) from a pre-defined set of members (called a "ring") and uses these keys to generate a signature. Verifiers can confirm that the signature comes from a member of the ring, but cannot identify the actual signer. Ring signatures inherently possess "signer ambiguity," providing trusted proof of identity within the group while protecting privacy, and are widely used in privacy-sensitive scenarios such as anonymous voting and cryptocurrency transactions.

[0037] Zero-Knowledge Proof (ZKP): A zero-knowledge proof is an interactive or non-interactive cryptographic protocol that allows a prover to demonstrate the truth of a statement to a verifier without revealing any additional information (such as secret parameters or computational processes). Its core characteristics include completeness (true statements can be verified), reliability (false statements cannot pass verification), and zero-knowledge property (no information is revealed during the verification process). This technology achieves a balance between "knowledge proof" and "information hiding" through mathematical methods, providing verifiable computational logic for privacy-preserving systems.

[0038] Knowledge signature (SoK): A knowledge signature is a combination of zero-knowledge proof and digital signature. It is used to prove that the signer possesses certain secret knowledge (such as a private key or parameters satisfying a specific relationship) and binds this proof to a specific message. Essentially, it is a digital signature of the fact that the signer "knows a secret." Verifiers can confirm that the signer does indeed possess the secret through publicly available information, but cannot obtain the secret content itself. This technology provides an efficient mechanism for proving ownership of knowledge in scenarios such as anonymous credentials and verifiable claims.

[0039] Figure 1 A system model diagram of the traceable ring-based collaborative signature system provided in the embodiments of this application is shown below. Figure 1 As shown, a traceable, peer-to-peer collaborative signature system can consist of a trusted setter, a tracer, a verifier, and multiple collaborative signature users.

[0040] In this embodiment, the trusted setter, the tracer, the verifier, and multiple collaborative signature users each use electronic devices such as computer equipment and servers as the execution entities, and this embodiment does not impose any restrictions on this.

[0041] Specifically, the trusted setter includes a built-in parameter generator, random number generator, security parameter configuration module, matrix sampling module, and public parameter output interface. The security parameter configuration module is used to generate security parameters (including prime numbers, dimension, and Gaussian distribution parameters) and hash functions based on lattice cryptography. The matrix sampling module is used to sample random matrices. The parameter generator can generate user public key matrices and tracer base matrices based on the random matrices. The public parameter output interface is used to send the system public parameters, composed of the above security parameters, hash functions, user public key matrices, and tracer base matrices, to verifiers and multiple co-signing users.

[0042] The source tracer includes a built-in key generator, data decryption interface, private key management module, index decryption module, proof generation module, public key distribution interface, and source traceability proof output interface. The key generator is used to generate the source tracer's private key and public key. The private key management module is used to manage the source tracer's private key. The public key distribution interface is used to distribute the source tracer's public key to verifiers and multiple collaborative signature users. The data decryption interface is used to receive the ring signature generated by the target signer among multiple collaborative signature users. The index decryption module is used to decrypt the encrypted index information in the ring signature. The proof generation module is used to provide source traceability proof for the decryption process. The source traceability proof output interface is used to provide source traceability proof to verifiers.

[0043] The verifier has a built-in proof verifier, hash calculator, signature verification module, tracing adjudication module, verification result output interface, and adjudication result feedback interface. The signature verification module is used to verify the proof information in the ring signature. The verification result output interface is used to output the verification result. The tracing adjudication module is used to verify the signature and tracing proof. The adjudication result feedback interface is used to generate the adjudication result. The hash calculator and proof verifier are used during the verification process.

[0044] The system includes a built-in key generation module, a ring builder, a zero-knowledge proof generator, a cryptographic index generation module, a signature synthesis module, a public key exchange interface, and a signature submission interface. The key generation module generates user public and private keys. The public key exchange interface allows multiple collaborative signature users to exchange their respective public keys. The ring builder generates a ring structure based on each user's public key. The cryptographic index generation module generates cryptographic index information. The zero-knowledge proof generator generates proof information. The signature synthesis module generates a ring signature based on the cryptographic index information and proof information, and submits the ring signature to verifiers and tracers through the signature submission interface.

[0045] Figure 2The hierarchical architecture diagram of the traceable ring-based collaborative signature system provided in the embodiments of this application is as follows: Figure 2 As shown, the traceable ring-based collaborative signature system includes: a basic cryptographic layer, a key management layer, a protocol execution layer, and an application interface layer.

[0046] The basic cryptographic layer includes a lattice parameter generator, a quantum-resistant hashing module, a matrix operation unit, a Gaussian distribution sampling unit, and a parameter initialization interface.

[0047] The key management layer includes a traceable key generator, a user key generator, a short matrix / vector generation module, a public key calculation module, and a key pair output interface.

[0048] The protocol execution layer includes a ring signature interface, a zero-knowledge proof processor, an encryption index generation module, a proof verification logic module, a decryption adjudication module, a signature generation interface, and a verification request interface.

[0049] The application interface layer includes a message input parser, a result output controller, a ring construction interface module, a traceability proof submission module, and an external system interaction interface.

[0050] The following describes the specific implementation of the traceable ring collaborative signature method applied to the traceable ring collaborative signature system, with reference to the embodiments.

[0051] Figure 3 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 1 ,like Figure 3 As shown, the method may include: S101. Obtain system public parameters, tracer public key, ring structure composed of multiple user public keys, and message to be signed.

[0052] In this embodiment, the trusted setter generates system public parameters and provides them to the tracer, verifier, and signer. These system public parameters may include prime numbers. Dimensions Vector length Gaussian discrete distribution parameters User public key matrix Originator Basic Matrix and hash function Trusted settings for source tracers, verifiers, and signers output common system parameters. .

[0053] Source tracer public key The public key generated by the source tracer and the source tracer's private key. The public and private key pairs of the tracer are formed.

[0054] Multiple collaborative signing users each possess their own unique public keys. For each signer among these collaborative signing users, a ring structure is formed by selecting several public keys (including their own) from the public keys of the multiple collaborative signing users. N represents the number of users who collaborate on the signature.

[0055] In some embodiments, the process by which a trusted setter generates system public parameters may include: Get the preset prime number Preset grid dimensions Preset vector length Gaussian distribution parameters From the model of Integer ring Medium sampling random matrix As the user's public key matrix; sampling random matrix As the base matrix for tracing the origin; choosing a hash function. This function is used to map a binary string of arbitrary length to a binary string of length 256 bits. In this embodiment, a quantum-resistant hash function SHA3-256 can be selected.

[0056] Among them, the trusted setter generates quantum-resistant security parameters, and reduces computational complexity through lattice parameter optimization, providing an efficient mathematical foundation for subsequent signature and traceability.

[0057] S102. Based on the binary position index of the target signer in the ring structure, generate a random vector of binary strings for each binary bit of the binary position index.

[0058] In this embodiment, for the target signer among multiple collaborative signer users, the initial position index of the target signer in the ring structure is determined. Convert to binary position index, for the first position in the binary position index bits, sampled generation length is Binary string random vector .

[0059] In some embodiments, the initial position index of the target signer in the ring structure is used. The method for converting to binary position indexes can be: ,in, , If each bit is 0 or 1, the weighted sum is calculated based on the condition that each bit is 0 or 1. The result determines the binary position index.

[0060] S103. Based on the tracer base matrix, the binary string random vector for each binary bit, and the tracer public key in the system public parameters, encrypt each binary bit to generate encrypted index information.

[0061] In this embodiment, the originator's public key is needed to hide the signer's identity information. and a random vector of binary strings for each binary bit For each binary bit Encryption is performed, while also preventing the binary string of each bit from becoming a random vector. Exposure also requires using the source tracer's fundamental matrix to create random vectors for each bit of the binary string. To jointly form encrypted index information .

[0062] In this way, only the person who possesses the tracer's private key can decrypt the signature to trace whether the user who signed it is a user on the ring structure, thus ensuring the security of the signing user.

[0063] S104. Based on the system public parameters, the tracer's public key, the ring structure, the encrypted index information, the target signer's private key, the binary position index, the binary string random vector, and the message to be signed, generate proof information using a zero-knowledge proof generation algorithm.

[0064] In this embodiment, when the verifier receives the encrypted index information Subsequently, the encrypted index information could not be determined. The correct correspondence between the real user index in the ring structure, whether the signer possesses the legitimate private key of the corresponding member, and whether the encryption process follows the protocol rules are all required. However, in order to avoid revealing the signer's identity information to the verifier, it is necessary to generate proof information to prove to the verifier that the signer is indeed a legitimate member in the ring structure and has correctly encrypted their own location information.

[0065] Specifically, the target signer's secret component includes: the target signer's private key. A random vector of binary strings with multiple binary bits indexed by binary positions. and the value of multiple binary bits The public parameters include: user public key matrix Originator Basic Matrix Originator Public Key Ring structure Encrypted index information and messages awaiting signature .

[0066] Based on the above information, several relationships need to be proven, including: proving the existence of a public key belonging to a ring structure. And satisfy the condition based on the private key and user public key matrix The public key can be calculated, and it can be proven that for each binary bit, there exists a corresponding value that makes the encrypted index information calculated correctly. It can also be proven that the value of the binary bit that makes the encrypted index information calculated correctly is binary, and satisfies the relationship between the initial position index and the binary position index.

[0067] In the actual proof process, a non-interactive challenge is generated through the Fiat-Shamir transformation. Specifically, for each secret component, a random mask is generated. The random masks of multiple secret components are combined to form a commitment value. The public parameters are hashed together with the commitment value to obtain the challenge value. The response pattern is determined based on the challenge value, and a response is generated based on the response pattern. The commitment value, challenge value, and response are packaged together to generate the proof information. .

[0068] It should be noted that this proof information It does not directly contain proofs for multiple relationships to be proven, but rather provides all the data needed for verification. The verifier receives the proof information. Then, the verification of multiple relations to be proven can be completed by recalculating the hash challenge value and checking whether the commitment and response satisfy the data equation of the response. The process of generating proof information actually enables any verifier to be confident that the secret component exists and satisfies all relations to be proven through carefully constructed commitment-challenge and response triples, and that the proof process does not reveal any secret information.

[0069] For example, a zero-knowledge proof generation algorithm is used to generate proof information. The expression can be represented as: ,in, For the originator public key The corresponding public key matrix of the source tracer, .

[0070] S105. Generate a ring signature based on the encrypted index information and proof information, wherein the tracer uses the tracer's private key to perform traceability authentication of the ring signature.

[0071] In this embodiment, the encrypted index information is... and proof information Combine them to generate a ring signature. .

[0072] When the tracer needs to authenticate the ring signature, they can decrypt the encrypted index information using the tracer's private key to determine the initial position index. They can then determine whether the initial position index is a position index in the ring structure. If so, the target signer is confirmed to be a secure signer in the ring structure.

[0073] The traceable ring-based collaborative signature method provided in the above embodiments encrypts each bit of the signer's binary position index using the tracer's public key, a random vector of binary strings for each binary bit, and the tracer's basic matrix, generating encrypted index information. While protecting the signer's identity privacy, it embeds decryptable traceable clues. Thus, only those with the tracer's private key can decrypt the ring signature to trace whether the user who generated the ring signature is a user on the ring structure, ensuring the security of the signing user, enabling traceability of the signer, and meeting the compliance audit requirements of scenarios such as finance and healthcare.

[0074] Furthermore, the process of generating encrypted index information is proven using a zero-knowledge proof generation method, generating proof information so that the correctness of the encrypted index information can be verified through the proof information without revealing the signer's secret, thereby further authenticating the signer's identity.

[0075] In one possible implementation, Figure 4 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 2 ,like Figure 4 As shown, the process of obtaining the source tracer's public key in S101 above may include: S201. Randomly sample short matrices and error matrices from the discrete Gaussian distribution matrix.

[0076] S202, Use the short matrix as the tracer's private key.

[0077] S203. Generate the tracer public key based on the tracer base matrix, error matrix, and short matrix.

[0078] In this embodiment, the source tracer starts from the discrete Gaussian distribution matrix. A short matrix S is randomly sampled from the matrix, and the short matrix S satisfies From the discrete Gaussian distribution matrix The random sampling error matrix E.

[0079] Using the short matrix S as the source tracer's private key ,Right now Based on the source tracer's fundamental matrix B, error matrix E, and short matrix S, calculate the source tracer's public key matrix T. The source tracer public key matrix T is used as the source tracer public key. ,Right now .

[0080] The traceable ring-based collaborative signature method provided in the above embodiments allows the tracer to calculate a quantum-resistant public key matrix by sampling private key matrices that meet the short norm condition and superimposing error matrices, thereby forming a publicly verifiable traceable key system. This ensures that the private key cannot be forged and the public key can be securely published, providing cryptographic protection for index encryption.

[0081] In one possible implementation, Figure 5 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 3 ,like Figure 5 As shown, the step of generating the user public key in S101 above may include: S301. Randomly sample a short vector from the discrete Gaussian distribution vector as the user's private key for each user.

[0082] S302. Generate the user public key for each user based on the user public key matrix and short vector in the system public parameters.

[0083] In this embodiment, each collaborative signature user independently generates a short vector private key, calculates the corresponding public key using the user's public key matrix, and forms the public-private key pair required for signing.

[0084] Specifically, each collaborative signature user starts from a discrete Gaussian distribution vector. Short vectors of random sampling ,satisfy With short vectors The user's private key for each co-signing user Based on the user's public key matrix A and the short vector Calculate the public key of each co-signing user. ,Right now .

[0085] The traceable ring-based collaborative signature method provided in the above embodiments samples a short vector private key, derives the public key through linear operations on the user's public key matrix, constructs a user-level public-private key pair, ensures the security of the private key based on the small integer solution problem on the lattice, and at the same time, the public key computation is lightweight, supporting large-scale user deployment.

[0086] In one possible implementation, Figure 6 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 4 ,like Figure 6 As shown, the process of S103 above, which encrypts each binary bit and generates encrypted index information based on the tracer's basic matrix, the random vector of the binary string for each binary bit, and the tracer's public key in the system's public parameters, may include: S401. Based on the source tracer base matrix and the binary string random vector for each binary bit, generate the first encrypted index component for each binary bit.

[0087] S402. Based on the tracer's public key and the random vector of the binary string for each binary bit, encrypt each binary bit to generate a second encrypted index component for each binary bit.

[0088] S403. Generate encrypted index information based on the first encrypted index component and the second encrypted index component of multiple binary bits in the binary position index.

[0089] In this embodiment, for each binary bit Binary string random vector The first encrypted index component is calculated based on the originator's fundamental matrix B. Based on the source tracer's public key and binary string random vector Calculate the second encrypted index component ,in, If the i-th column of the tracer's public key matrix T is the encrypted index information, then... .

[0090] Prove the following relationship using a zero-knowledge proof generation algorithm: Knowledge satisfy ; ; ; in, ,and , .

[0091] For a short vector x corresponding to the private key, generate a random short vector y. For a random vector of binary strings... Generate random vectors For the value of each binary bit Generate random bits Calculate the corresponding commitment values ​​respectively, i.e. , , Commitment value The challenge value is calculated based on the public parameters and the commitment value. The response value is determined based on the challenge value. If the challenge value indicates "Prove mask consistency", then the response value is... For the mask y, and If the challenge value indicates "Prove the secret relationship", then the response value is... Prove information as a linear combination of the mask and the corresponding secret. .

[0092] The traceable ring-based collaborative signature method provided in the above embodiments involves the signer constructing a public key ring structure, converting its own index into binary form, and using the traceable public key to encrypt and generate ciphertext bit by bit. Subsequently, the validity of the private key, the correctness of the ciphertext construction, and the consistency between the index and ring members are verified synchronously through zero-knowledge proof. Finally, a signature containing ciphertext and proof is output. By coupling index encryption with zero-knowledge proof, traceable clues are embedded while ensuring anonymity.

[0093] In one possible implementation, Figure 7 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 5 ,like Figure 7 As shown, after generating the ring signature based on the encrypted index information and proof information in S105 above, the method may further include: S501. Based on the system's public parameters, the tracer's public key, the ring structure, the encrypted index information, and the message to be signed, construct the challenge value using a preset hash function.

[0094] S502. Based on the challenge value and proof information, use a zero-knowledge proof verification algorithm to verify the validity of the ring signature.

[0095] In this embodiment, after the target signer outputs the collaborative signature, the verifier can construct a challenge value using a hash function and use a zero-knowledge proof verification algorithm to check the validity of the ring signature. If the verification passes, the ring signature is accepted; otherwise, it is rejected.

[0096] Specifically, the verifier obtains proof information. Extract commitment value Challenge Value and response value Obtain encrypted index information Then, the verifier recalculates the challenge value themselves. ,judge and If they are consistent, the ring signature verification fails. If they are consistent, the verification branch is determined based on the challenge value: either "prove mask consistency" or "prove secret relationship". If "prove mask consistency", then the verification is based on the mask y in the response value. and The corresponding result is calculated and Whether they are consistent, if "proving a secret relationship" is required, then calculations can be performed based on the proof relationship, and compared with... A consistency comparison is performed, and finally, the bit constraints are verified. If all verifications pass, the ring signature is determined to be valid; if any verification fails, the ring signature is determined to be invalid.

[0097] For example, by Verification information to confirm validity The effectiveness, of which This is a zero-knowledge proof verification algorithm based on the Fiat-Shamir transform. If the output result is 1, the verification is successful; if the output result is 0, the verification fails.

[0098] The traceable ring-based collaborative signature method provided in the above embodiments allows the verifier to construct a challenge value using a quantum-resistant hash function, which drives a zero-knowledge proof verification algorithm to check the validity of the ring signature. Specifically, it verifies whether the proof content matches the public key matrix, ring structure, and ciphertext data, and confirms the binding relationship between the ring signature and the message. This process does not require revealing the signer's identity or index plaintext, achieving efficient and privacy-preserving legitimacy verification.

[0099] In one possible implementation, Figure 8 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 6 ,like Figure 8 As shown, the method may further include: S601. Verify the validity of the ring signature.

[0100] In this embodiment, before tracing the ring signature for tracing authentication, the tracer needs to verify the validity of the ring signature. The verification method is the same as the method used by the verifier in S501-S502 to verify the validity of the ring signature, and will not be described in detail here.

[0101] Its verification expression is: If the verification result is 0, the traceability and authentication process will be terminated.

[0102] S602. If the ring signature is a valid signature, decrypt the encrypted index information based on the tracer's private key to determine the target location index of the target signer.

[0103] In this embodiment, if the ring signature is determined to be valid, the tracer uses the tracer's private key to decrypt the encrypted index information and determines the decimal position index, i.e., the target position index of the target signer, based on the decrypted binary position index.

[0104] S603. Determine the target signer's public key in the ring structure based on the target location index.

[0105] In this embodiment, based on the target location index, the user public key corresponding to the target location index is determined to be the target user public key of the target signer in the ring structure.

[0106] In this way, tracers can obtain the identity information of the signer who is anonymous to the public from the ring signature, so that they can be traced during audits.

[0107] S604. Based on the tracer's public key, the ring signature, and the target user's public key, generate a traceability certificate. The traceability certificate indicates that the decryption process was correct and that the target user's public key is the target signer's public key.

[0108] In this embodiment, if only the tracer can decrypt the signer's identity information, but there is no proof mechanism, the authenticity of the tracer's traceability result cannot be determined. Therefore, this scheme generates some relationships to be proven during the traceability process based on the decryption of the binary position index and the location of the user's public key. It also generates a random mask based on the tracer's secret, calculates the commitment value and challenge value, and forms the traceability proof. .

[0109] In some embodiments, the process of decrypting the encrypted index information based on the tracer's private key and determining the target location index of the target signer in step S602 may include: The encrypted index information is decrypted using the tracer's private key, generating a noise decryption result for each binary bit; the reconstruction result for each binary bit is generated based on the comparison between the noise decryption result for each binary bit and a preset threshold; and the target position index is determined based on the reconstruction results of multiple binary bits.

[0110] In this embodiment, for each binary bit Calculate the noise decryption result ,in, Let the i-th column of the short vector S corresponding to the source tracer's public key be... Then determine ,like Then determine This error-tolerance mechanism ensures reliable tracing results in noisy environments and improves the system's robustness in real network environments.

[0111] Based on the reconstruction results of multiple binary bits Determine the target location index Then the target user's public key of the target signer is determined. .

[0112] For example, the tracer's secret includes a short vector S corresponding to the private key and the decrypted binary position index. and the public key of the identified target user The relationship to be proven may include: the relationship for proving the validity of the private key. Given a small norm matrix, decrypt the proof of correctness. The process of calculating the commitment value, challenge value, and response value is related to the previous generation of proof information. The process is basically the same, so I will not repeat it again.

[0113] Example, proof of origin The expression can be represented as .

[0114] The traceable ring-based collaborative signature method provided in the above embodiments, under the premise that the signature is valid, the tracer uses the private key to decrypt the ciphertext, calculates the decryption value bit by bit and determines the binary index bit, reconstructs the signer index to locate its public key; and simultaneously generates a publicly verifiable traceability proof to confirm that the decryption operation meets the preset error tolerance range. Through the lattice decryption error tolerance mechanism and proof generation technology, the non-repudiation of the traceability result is ensured.

[0115] In one possible implementation, Figure 9 A flowchart illustrating the traceable ring-based collaborative signature method provided in this application embodiment. Figure 7 ,like Figure 9 As shown, the method may further include: S701. Verify the validity of ring signatures and traceability proofs.

[0116] S702. If both the ring signature and the proof of origin are valid, the proof of origin is considered correct.

[0117] In this embodiment, the verifier verifies the tracer's traceability results to determine whether the target user's public key obtained by the tracer is valid. First, the validity of the ring signature is verified. The signature method is as described in S601 above, and will not be repeated here.

[0118] In the case of a valid ring signature, for proof of origin Validity verification is also performed, including verification of the source traceability proof. The method of validity verification and the verification information The verification method is the same, so it will not be repeated here.

[0119] Example, for proof of origin The expression for validation can be represented as: If the output is 1, then the proof of origin is confirmed. Valid; if the output is 0, the proof of origin is confirmed. Invalid. If proven by traceability. If valid, then the identity information of the target signer traced by the tracer is correct.

[0120] The traceable ring-based collaborative signature method provided in the above embodiments involves the verifier performing dual verification of the tracer's tracing results. First, the validity of the original signature is confirmed, and then the mathematical completeness of the tracing proof is verified. Only when both verifications pass is the tracing result deemed legal and valid; otherwise, it is considered invalid. This mechanism prevents single-point abuse of power through decentralized adjudication, ensuring the fairness of the tracing system.

[0121] Based on the above method embodiments, this application also provides a traceable ring-type collaborative signature device. Figure 10 This is a schematic diagram of the traceable ring-type collaborative signature device provided in the embodiments of this application, as shown below. Figure 10 As shown, the device may include: The information acquisition module 801 is used to acquire system public parameters, the tracer's public key, a ring structure composed of multiple user public keys, and the message to be signed; The random vector generation module 802 is used to generate a random vector of binary strings for each binary bit of the binary position index based on the binary position index of the target signer in the ring structure. The information encryption module 803 is used to encrypt each binary bit based on the tracer base matrix, the binary string random vector of each binary bit and the tracer public key in the system public parameters, and generate encrypted index information. The proof information generation module 804 is used to generate proof information based on system public parameters, the tracer's public key, ring structure, encrypted index information, the target signer's private key, binary position index, binary string random vector, and the message to be signed, using a zero-knowledge proof generation algorithm. The ring signature generation module 805 is used to generate a ring signature based on the encrypted index information and the proof information, wherein the tracer is used to perform traceability authentication of the ring signature using the tracer's private key.

[0122] Optionally, the information acquisition module 801 is specifically used to randomly sample a short matrix and an error matrix from the discrete Gaussian distribution matrix; use the short matrix as the tracer's private key; and generate the tracer's public key based on the tracer's base matrix, error matrix, and short matrix.

[0123] Optionally, the information acquisition module 801 is also used to randomly sample short vectors from the discrete Gaussian distribution vectors as each user's private key; and to generate each user's public key based on the user public key matrix and the short vectors in the system public parameters.

[0124] Optionally, the information encryption module 803 is specifically used to generate a first encrypted index component for each binary bit based on the tracer's base matrix and the random vector of the binary string for each binary bit; to encrypt each binary bit based on the tracer's public key and the random vector of the binary string for each binary bit, thereby generating a second encrypted index component for each binary bit; and to generate encrypted index information based on the first and second encrypted index components of multiple binary bits in the binary position index.

[0125] Optionally, the device may further include: The validity verification module 806 is used to construct a challenge value using a preset hash function based on system public parameters, the tracer's public key, the ring structure, encrypted index information, and the message to be signed; and to verify the validity of the ring signature using a zero-knowledge proof verification algorithm based on the challenge value and the proof information.

[0126] Optionally, the validity verification module 806 is also used to verify the validity of the ring signature; The tracing module 807 is used to, if the ring signature is a valid signature, decrypt the encrypted index information based on the tracer's private key to determine the target signer's target position index; determine the target signer's target user public key in the ring structure based on the target position index; and generate a tracing proof based on the tracer's public key, the ring signature, and the target user public key. The tracing proof indicates that the decryption process was correct and that the target user public key is the target signer's user public key.

[0127] Optionally, the tracing module 807 is specifically used to decrypt the encrypted index information according to the tracer's private key and generate a noise decryption result for each binary bit; generate a reconstruction result for each binary bit based on the comparison result of the noise decryption result for each binary bit and a preset threshold; and determine the target position index based on the reconstruction results of multiple binary bits.

[0128] Optionally, the validity verification module 806 is also used to verify the validity of the ring signature and the traceability proof; if both the ring signature and the traceability proof are valid, the traceability result is determined to be correct.

[0129] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0130] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).

[0131] Figure 11 A schematic diagram of the electronic device provided in the embodiments of this application, such as... Figure 11As shown, the electronic device 900 may include a processor 901, a storage medium 902, and a bus. The storage medium 902 stores program instructions executable by the processor 901. When the electronic device 900 is running, the processor 901 communicates with the storage medium 902 via the bus, and the processor 901 executes the program instructions to perform the above-described method embodiment. The specific implementation and technical effects are similar and will not be described in detail here.

[0132] Optionally, this application also provides a computer-readable storage medium storing a computer program, which is executed by a processor to perform the above-described method embodiments.

[0133] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0134] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0135] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.

[0136] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0137] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A traceable ring-based collaborative signature method, characterized in that, The method includes: Obtain system public parameters, tracer public key, ring structure composed of multiple user public keys, and message to be signed; Based on the binary position index of the target signer in the ring structure, generate a random vector of binary strings for each binary bit of the binary position index; Based on the tracer base matrix in the system public parameters, the random vector of the binary string for each binary bit, and the tracer public key, each binary bit is encrypted to generate encrypted index information; Based on the system public parameters, the tracer's public key, the ring structure, the encrypted index information, the target signer's private key, the binary position index, the binary string random vector, and the message to be signed, a zero-knowledge proof generation algorithm is used to generate proof information. A ring signature is generated based on the encrypted index information and the proof information, wherein the tracer uses the tracer's private key to perform traceability authentication of the ring signature.

2. The method as described in claim 1, characterized in that, The steps to obtain the source tracer's public key include: Randomly sample the short matrix and error matrix from the discrete Gaussian distribution matrix; The short matrix is ​​used as the source tracer's private key; The source tracer public key is generated based on the source tracer base matrix, the error matrix, and the short matrix.

3. The method as described in claim 1, characterized in that, The steps for generating the user's public key include: A short vector is randomly sampled from the discrete Gaussian distribution vector to serve as each user's private key; The user public key for each user is generated based on the user public key matrix in the system public parameters and the short vector.

4. The method as described in claim 1, characterized in that, The step involves encrypting each binary bit based on the tracer base matrix in the system's public parameters, the random vector of the binary string for each binary bit, and the tracer public key to generate encrypted index information, including: Based on the source tracer base matrix and the binary string random vector of each binary bit, generate the first encrypted index component of each binary bit; Based on the tracer's public key and the random vector of the binary string for each binary bit, each binary bit is encrypted to generate a second encrypted index component for each binary bit; The encrypted index information is generated based on the first encrypted index component and the second encrypted index component of multiple binary bits in the binary position index.

5. The method as described in claim 1, characterized in that, After generating the ring signature based on the encrypted index information and the proof information, the method further includes: Based on the system public parameters, the tracer's public key, the ring structure, the encrypted index information, and the message to be signed, a challenge value is constructed using a preset hash function; The validity of the ring signature is verified using a zero-knowledge proof verification algorithm based on the challenge value and the proof information.

6. The method as described in claim 1, characterized in that, The method further includes: The validity of the ring signature is verified. If the ring signature is a valid signature, the encrypted index information is decrypted according to the tracer's private key to determine the target location index of the target signer; The target signer's target user public key is determined in the ring structure based on the target location index; Based on the source tracer's public key, the ring signature, and the target user's public key, a source traceability certificate is generated, indicating that the decryption process was correct and that the target user's public key is the target signer's public key.

7. The method as described in claim 6, characterized in that, The step of decrypting the encrypted index information based on the tracer's private key to determine the target location index of the target signer includes: The encrypted index information is decrypted using the source tracer's private key to generate a noise decryption result for each binary bit; Based on the comparison between the noise decryption result of each binary bit and the preset threshold, a reconstruction result for each binary bit is generated; The target position index is determined based on the reconstruction results of multiple binary bits.

8. The method as described in claim 6, characterized in that, The method further includes: The validity of the ring signature and the proof of origin is verified; If both the ring signature and the source tracing proof are valid, the source tracing result is determined to be correct.

9. A traceable ring-type collaborative signature device, characterized in that, The device includes: The information acquisition module is used to acquire system public parameters, the tracer's public key, a ring structure composed of multiple user public keys, and the message to be signed; A random vector generation module is used to generate a random binary vector for each binary bit of the binary position index based on the binary position index of the target signer in the ring structure. The information encryption module is used to encrypt each binary bit according to the tracer base matrix in the system public parameters, the binary string random vector of each binary bit, and the tracer public key, and generate encrypted index information. The proof information generation module is used to generate proof information using a zero-knowledge proof generation algorithm based on the system public parameters, the tracer's public key, the ring structure, the encrypted index information, the target signer's private key, the binary position index, the binary string random vector, and the message to be signed; The ring signature generation module is used to generate a ring signature based on the encrypted index information and the proof information, wherein the tracer is used to perform traceability authentication of the ring signature using the tracer's private key.

10. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores program instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the traceable ring-based collaborative signature method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Decentralized traceable ring signature authentication method and system, and storage medium

    CN120128342A

  • Safety time-limited verifiable and traceable threshold signature system and method

    CN120378121A