Editable block chain architecture supporting anonymous editing and permission revocation and implementation method thereof
By introducing anonymous editing and permission revocation architectures in blockchain technology, the supervision mechanism of central institutions and group administrators is utilized, combined with the chameleon hash function, the problems of editor identity exposure and malicious editing in blockchain technology are solved. , realizes editor privacy protection and permission management, and improves the editing security of blockchain.
Patent Information
- Application Number
- CN202411649636.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2024-12-17
AI Technical Summary
There is inconsistency between existing blockchain technology in terms of immutability and editor privacy protection, resulting in the problems of editor identity exposure and limited editor initiative.
An editable blockchain architecture with anonymous editing and permission revocation was designed. Through technical means such as central organization initialization, group administrator supervision and chameleon hash function, the editor's identity anonymity and permission management are realized, ensuring editor's privacy protection. and malicious editor tracking.
It realizes effective supervision of the anonymity of editors' identities and permissions, solves the problems of editor privacy protection and malicious editing in the existing technology, and improves the editing security and credibility of blockchain.
Smart Images

Figure CN119155015A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of confidential communication technology, and in particular to an editable blockchain architecture supporting anonymous editing and permission revocation and an implementation method thereof. Background Art
[0002] Blockchain integrates multiple technologies such as distributed data management, P2P network, cryptography, etc., and has the characteristics of decentralization, public homonymy and non-tamperability. The above characteristics ensure the credibility and security of data on the chain, making blockchain widely used in digital currency, medical system, supply chain system, Internet of Things and other fields.
[0003] As the application areas of blockchain continue to expand, its immutability has caused inconsistencies between the technical and application levels. For example, users cannot correct data errors, technical departments cannot repair smart contract vulnerabilities, and illegal data or privacy-invading content cannot be cleared after being uploaded.
[0004] The existing technology has proposed some solutions to the above-mentioned inconsistencies, but has neglected the privacy protection of the editors. On the one hand, this may lead to the exposure of the editors' identities; on the other hand, this may make the editors afraid of having their identities exposed, thereby limiting the editors' initiative. Summary of the invention
[0005] This application provides an editable blockchain architecture and its implementation method that supports anonymous editing and permission revocation, and provides a blockchain solution that can modify illegal content while fully protecting the privacy of editors and limiting editing permissions.
[0006] The technical solution of this application is as follows: An editable blockchain architecture that supports anonymous editing and permission revocation, including: A central authority, which acts as a trusted entity to send system parameters to all chain participants to initialize the blockchain; then selects another trusted entity as a group administrator; the central authority does not participate in the operation of the blockchain; A group administrator, who distributes member keys to each editor. When a malicious edit is discovered or a user report is received, the group administrator tracks the malicious edit and revokes the editor's editing privileges. Alternatively, the group administrator tracks the corresponding edit after checking the report content, and revokes the editor's editing privileges if the behavior is consistent with the report content. Editors: All editors form an editor group. When receiving an editing request from a user, any editor can anonymously perform editing operations on behalf of the editor group. A user, the user generates editable transactions and non-editable transactions as a service entity of the blockchain. When an editable transaction needs to be modified, the user sends an edit request to the editor; Miners are used to collect transaction data in the blockchain and verify the legitimacy of transactions. Miners package several legal transactions into a new block and write the new block to the blockchain after broadcasting it in the blockchain.
[0007] Further, S1) the central agency runs the initialization algorithm , get the public parameters and sends it to all chain participants; S2) The central agency designates a trusted chain participant as the group administrator, who runs the key generation algorithm generate As a private key pair for personal use, create an empty list to record editors whose editing permissions have been revoked ; S3) Group administrators and chain participants who are to join the editor group run Protocol, generate join key ; Chain participants based on Become an editor and join an editor group; S4) User runs the hash algorithm Generate transaction information Corresponding Chameleon hash value and random value , and broadcast it to the blockchain ; S5) Miners collect After that, run the hash verification algorithm verify The validity of the transaction is verified by repeatedly collecting several transactions and packaging them into blocks, which are then broadcast and written to the blockchain. S6) When When editing is required: Editor group runs collision extraction algorithm right Edit, generate ,in, To track information, Editor is not available The evidence in for The new random value of the output, for Output proof parameters.
[0008] S7) When the editor completes the editing, the user can Perform verification operations: ; ; When the above two equations are true at the same time, it means that the editing is legal, otherwise the editing is illegal; When editing is illegal: Group administrator runs Post Output ,in, To prove the parameters, Editor locked for group administrators; group administrators will Add to Run the edit permission revocation algorithm To the editor to update.
[0009] Further, in step S1), the central agency initializes the algorithm Enter security parameters in , select RSA modulus , generator And the order is Cyclic group of , and randomly select two elements and two hash functions ; And create an empty list , initialize the algorithm to output common parameters .
[0010] Further, in step S2), Enter the common parameters in , generate two RSA exponents , ; exist Randomly select a group of elements from ,calculate ,in, , are the parameters of the master public key and the master private key respectively, ; exist Randomly select a group of elements from ,calculate , and order ; is the hash key, is the trapdoor key; Output master public key , the master private key .
[0011] Further, in step S4), Enter the master public key and Message , calculate the hash value , for The number of editors whose editing privileges have been revoked; choose a random value ,calculate The corresponding random value And the Chameleon hash After that, output .
[0012] Further, step S6) The editing of includes the following steps: S61) Select a random value ,right After encryption, we get and As tracking information ; S62) Select a random value , computational evidence ,in for The editor whose editing privileges have been revoked in If there are other editors in the , for Other editors in the same way All editors in ; S63) Calculate the new random value according to the following formula : ; In the formula, , are two different random values, , Message and Message The hash value of S64) is calculated as follows , , : , , ; S65) Output .
[0013] Further, in step S7), calculate To Decryption is performed; calculate To confirm the group administrator identity; Output .
[0014] Furthermore, in step S7), the editing permission revocation algorithm is executed as follows: Group administrators will revoke editing privileges from editors Add to ,at this time Number of editors in becomes ; exist Input into the algorithm and , respectively calculate , ; Continue typing ,calculate: ; in, ; Output .
[0015] Due to the adoption of the above technical solution, the beneficial effects of this application are as follows: 1. This application proposes an editable blockchain architecture that supports anonymous editing and revocation of permissions. This architecture organizes editors into a group, and any editor in the group can perform editing operations on behalf of the entire group without revealing his or her identity as an editor, thereby protecting the privacy of the editor. At the same time, this architecture sets up group administrators for editors to supervise editing permissions. Group administrators can track malicious editing behaviors and revoke their editing permissions.
[0016] 2. This application also provides a specific solution for implementing the above architecture, which effectively solves the problems of lack of editor privacy protection and malicious editing in existing editable blockchain solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.
[0018] Figure 1 A schematic diagram of an editable blockchain architecture that supports anonymous editing and permission revocation is provided for this application; Figure 2 A flow chart of a method for implementing an editable blockchain architecture that supports anonymous editing and permission revocation is provided for this application. DETAILED DESCRIPTION
[0019] Based on the background technology, as shown in the attached Figure 1 As shown, the present application provides an editable blockchain architecture that supports anonymous editing and permission revocation, including: A central authority, which acts as a trusted entity to send system parameters to all chain participants to initialize the blockchain; another trusted entity is then selected as the group administrator; the central authority does not participate in the operation of the blockchain.
[0020] A group administrator distributes member keys to each editor. When malicious editing is discovered or a user report is received, the group administrator tracks the malicious editing behavior and revokes the editor's editing privileges. Alternatively, the group administrator tracks the corresponding editing behavior after checking the report content, and revokes the editor's editing privileges if the behavior is consistent with the report content.
[0021] Editors, all editors constitute an editor group. When receiving an editing request from a user, any editor can perform editing operations anonymously on behalf of the editor group.
[0022] A user, as a service entity of the blockchain, generates editable transactions and non-editable transactions. When an editable transaction needs to be modified, the user sends an edit request to the editor.
[0023] Miners are used to collect transaction data in the blockchain and verify the legitimacy of transactions. Miners package several legal transactions into a new block and write the new block to the blockchain after broadcasting it in the blockchain.
[0024] In order to implement the above architecture, the chameleon hash function used in this application includes the following 8 algorithms: initialization algorithm, key generation algorithm, joining protocol, hash algorithm, hash verification algorithm, collision extraction algorithm, member tracking algorithm and editing permission revocation algorithm. Among them, the joining protocol will generate an editor group. Any group member in the group can execute the algorithm on behalf of the entire group without exposing his or her membership. In addition, there is a group administrator in the group. The group administrator can track the identity of members by executing the member tracking algorithm and revoke the editing permission revocation algorithm to revoke the editing permission of a member. This application provides the following steps: S1) The central agency runs the initialization algorithm , get the public parameters and sends it to all chain participants.
[0025] Central Agency Initialization Algorithm Enter security parameters in , select RSA modulus , generator And the order is Cyclic group of , and randomly select two elements and two hash functions ; And create an empty list , initialize the algorithm to output common parameters .
[0026] It should be noted that in cryptography, the expression The 1 in the formula is a convention used to indicate the input safety parameter. form. Represents a length of A bit string such as In fact, it is a A string of "1"s is 111..1.
[0027] S2) The central agency designates a trusted chain participant as the group administrator, who runs the key generation algorithm generate As a private key pair for personal use, create an empty list to record editors whose editing permissions have been revoked ; In step S2), Enter the common parameters in , generate two RSA exponents , ; The details are as follows: exist Randomly select a group of elements from ,calculate ,in, , are the parameters of the master public key and the master private key respectively, ; exist Randomly select a group of elements from ,calculate , and order ;in, is the hash key, is the trapdoor key; Output master public key , the master private key .
[0028] S3) Group administrators and chain participants who are to join the editor group run Protocol, generate join key ; Chain participants based on Become an editor and join an editor group; The protocol is an interactive protocol between the editor to be added and the group administrator, the purpose of which is to generate a joining key . Mark the editor to be added as User and the group manager as GM.
[0029] The interaction process between User and GM is as follows: User runs in sequence: Choose a random value s: ; Encrypt the selected random value s to obtain the secret value c: Calculate the identity Z: Randomly select a blinding factor b : ; right c Perform blinding to obtain blinded values : ; Computational evidence U : ; Computational evidence V : ; UserSend To GM GM runs in sequence: Verify U and V, and if correct, calculate: Using blinded values Calculate the blinded key, i.e. the blinded key : ; Calculate the hash value h 1: , i is the number of users in the revocation list, hk is part of the master public key; Calculate temporary key etd , ; x Part of the master private key GM sends To User User execution: Unblind the blinded key to get the key v : ; Add the key as .
[0030] S4) User runs the hash algorithm Generate transaction information Corresponding Chameleon hash value and random value , and broadcast it to the blockchain .
[0031] In step S4), Enter the master public key and Message , calculation parameters , for The number of editors whose editing privileges have been revoked; choose a random value ,calculate The corresponding random value And the Chameleon hash After that, output .
[0032] S5) Miners collect After that, run the hash verification algorithm verify The validity of the transaction is verified by repeatedly collecting several transactions and packaging them into blocks, which are then broadcast and written to the blockchain. S6) When When editing is required: Editor group runs collision extraction algorithm right Edit, generate ,in, To track information, Editor is not available The evidence in for The new random value of the output, for Output proof parameters. S6) specifically includes: S61) Select a random value ,right After encryption, we get and To calculate tracking information ; R Part of the master public key.
[0033] S62) Select a random value , computational evidence ,in for The editor whose editing privileges have been revoked in If there are other editors in the , for Other editors in the same way All editors in ; S63) Calculate the new random value according to the following formula : ; In the formula, , are two different random values, , Message and Message The hash value of S64) is calculated as follows , , : , , ; S65) Output .
[0034] , Prove that the User has obtained a valid join key And its Related, s is a random value.
[0035] The first two equations prove the ciphertext and The same random value is used in , guaranteed The algorithm can correctly open the identity; the last two equations prove that User is not middle.
[0036] S7) When the editor completes the editing, the user can Perform verification operations: ; ; When the above two equations are true at the same time, it means that the editing is legal, otherwise the editing is illegal; The verification operation uses a hash verification algorithm, and its logic is: , there is no corresponding Therefore, it is necessary to check Is it a valid Diffie-Hellman Tuples, i.e. judgment equations Whether it is true, we also need to check the equation If all are correct, output 1, otherwise output 0. , additional verification is required Is it correct.
[0037] When editing is illegal: Group administrator runs Post Output ,in, To prove the parameters, it means that the member tracking algorithm is run by the group administrator. Editor locked for group administrators; group administrators will Add to Run the edit permission revocation algorithm To the editor to update.
[0038] In step S7), the member tracking algorithm is run to calculate To Decryption is performed; d Indicates ciphertext.
[0039] calculate To confirm the group administrator identity; Output . After joining Join When signing the agreement, the user User sent an identity token to the GM. Z , so through Z The identity of the User can be determined. Finally, When the group administrator proves that there is a corresponding w , w Part of the master private key, used for decryption.
[0040] The editing permission revocation algorithm operates as follows: Group administrators will revoke editing privileges from editors Add to ,at this time Number of editors in becomes ; exist Input into the algorithm and , respectively calculate , ; Continue typing ,calculate: ; in, ;in, is the discrete logarithm.
[0041] Output In the formula, , are the updated random values and keys, is the updated hash value.
[0042] The parts not mentioned in this application can be implemented by adopting or drawing on existing technologies, and the naming rules of related parameters not mentioned can also be inferred based on existing parameters.
[0043] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An editable blockchain architecture that supports anonymous editing and permission revocation, characterized in that: include: A central authority, which acts as a trusted entity to send system parameters to all chain participants to initialize the blockchain; Another trusted entity is then selected as the group administrator; the central authority does not participate in the operation of the blockchain; A group administrator, who distributes member keys to each editor. When a malicious edit is discovered or a user report is received, the group administrator tracks the malicious edit and revokes the editor's editing privileges. Alternatively, the group administrator tracks the corresponding edit after checking the report content, and revokes the editor's editing privileges if the behavior is consistent with the report content. Editors: All editors form an editor group. When receiving an editing request from a user, any editor can anonymously perform editing operations on behalf of the editor group. A user, the user generates editable transactions and non-editable transactions as a service entity of the blockchain. When an editable transaction needs to be modified, the user sends an edit request to the editor; Miners are used to collect transaction data in the blockchain and verify the legitimacy of transactions. Miners package several legal transactions into a new block and write the new block to the blockchain after broadcasting it in the blockchain.
2. A method for implementing an editable blockchain architecture supporting anonymous editing and permission revocation as claimed in claim 1, characterized in that: The following steps are involved: S1) The central agency runs the initialization algorithm , get the public parameters and sends it to all chain participants; S2) The central agency designates a trusted chain participant as the group administrator, who runs the key generation algorithm generate As a private key pair for personal use, create an empty list to record editors whose editing permissions have been revoked ; S3) Group administrators and chain participants who are to join the editor group run Protocol, generate join key ; Chain participants based on Become an editor and join an editor group; S4) User runs the hash algorithm Generate transaction information Corresponding Chameleon hash value and random value , and broadcast it to the blockchain ; S5) Miners collect After that, run the hash verification algorithm verify The validity of the transaction is verified by repeatedly collecting several transactions and packaging them into blocks, which are then broadcast and written to the blockchain. S6) When When editing is required: Editor group runs collision extraction algorithm right Edit, generate ,in, To track information, For editors not present The evidence in for The new random value of the output, for Output proof parameters; S7) When the editor completes the editing, the user can Perform verification operations: ; ; When the above two equations are true at the same time, it means that the editing is legal, otherwise the editing is illegal; When editing is illegal: Group administrator runs Post Output ,in, To prove the parameters, Editor locked for group administrators; group administrators will Add to Run the edit permission revocation algorithm To the editor to update.
3. A method for implementing an editable blockchain architecture supporting anonymous editing and permission revocation according to claim 2, characterized in that: In step S1), the central agency initializes the algorithm Enter security parameters in , select RSA modulus , generator And the order is Cyclic group of , and randomly select two elements and two hash functions ; And create an empty list , initialize the algorithm to output common parameters ; Represents the set of integers modulo n.
4. A method for implementing an editable blockchain architecture supporting anonymous editing and permission revocation according to claim 3, characterized in that: In step S2), Enter the common parameters in , generate two RSA exponents , ; exist Randomly select a group of elements from ,calculate ,in, , are the parameters of the master public key and the master private key respectively, ; exist Randomly select a group of elements from ,calculate , and order ; is the hash key, is the trapdoor key; Output master public key , the master private key .
5. A method for implementing an editable blockchain architecture supporting anonymous editing and permission revocation according to claim 4, characterized in that: In step S4), Enter the master public key and Message , calculate the hash value , for The number of editors whose editing privileges have been revoked; choose a random value ,calculate The corresponding random value And the Chameleon hash After that, output .
6. A method for implementing an editable blockchain architecture supporting anonymous editing and permission revocation according to claim 5, characterized in that: Step S6) The editing of includes the following steps: S61) Select a random value ,right After encryption, we get and As tracking information ; Representation model n The multiplication group below ; S62) Select a random value , computational evidence ,in for The editor whose editing privileges have been revoked in If there are other editors in the , for Other editors in the same way All editors in ; S63) Calculate the new random value according to the following formula : ; In the formula, , are two different random values, , Message and Message The hash value of S64) is calculated as follows , , : , , ; S65) Output .
7. A method for implementing an editable blockchain architecture supporting anonymous editing and permission revocation according to claim 6, characterized in that: In step S7), calculate To Decryption is performed; calculate To confirm the group administrator identity; Output .
8. A method for implementing an editable blockchain architecture supporting anonymous editing and permission revocation according to claim 7, characterized in that: In step S7), the editing permission revocation algorithm operates as follows: Group administrators will revoke editing privileges from editors Add to ,at this time Number of editors in becomes ; exist Input into the algorithm and , respectively calculate , ; Continue typing ,calculate: ; in, ; Output .
Citation Information
Patent Citations
Data modification and verification method for editable block chain
CN116739592A
Multifunctional block chain editing method
CN118764155A
