Block chain RN access method based on IBE
By using the IBE-based blockchain RN access method and leveraging the Setup, Extract, Encrypt, and Decrypt algorithms, the problem of data silos between blockchain networks is solved, enabling secure communication and efficient sharing of cross-chain data.
Patent Information
- Application Number
- CN202411006727.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-15
AI Technical Summary
Data silos and inadequate security between different blockchain networks result in low efficiency of cross-chain data sharing, making it impossible to achieve efficient data security communication and access control.
The blockchain RN access method adopts identity-based identifier-based encryption (IBE), and implements cross-chain data encryption and decryption and access control through Setup, Extract, Encrypt and Decrypt algorithms to ensure the security and consistency of data in the cross-chain process.
It enables secure data communication and cross-chain interoperability between different facilities and institutions, improves the efficiency of cross-chain data sharing, and ensures the security of data during the cross-chain process.
Smart Images

Figure CN118972044A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to an IBE-based blockchain RN access method. Background Art
[0002] The unique data structure of blockchain makes data records tamper-proof. Once data is recorded on the blockchain, it is difficult to be tampered with or forged, which provides a guarantee for the credibility of the data. In addition, blockchain technology eliminates the need for traditional centralized trust institutions through the application of consensus mechanisms and cryptography. Data is stored on various nodes of the network, and there is no single central server that is vulnerable to attack. The verification and confirmation of data no longer depends on the central server, but is achieved through the joint verification of various nodes in the network. This decentralized feature improves the credibility and security of data.
[0003] The rapid development of blockchain technology has also spawned a large number of blockchain platforms, each with its own characteristics and advantages, but this has also led to the fragmentation of blockchains, making it impossible for different blockchain networks to interact directly. The isolation between blockchain networks has led to the isolation of value and data on different blockchains, which cannot be shared and circulated, limiting the overall application scope and effectiveness of blockchain technology. Practical applications in reality require multiple blockchain networks to work together, such as cross-chain payments and cross-chain smart contract execution. Cross-chain technology allows connections and communications to be established between different blockchain networks, enabling seamless transmission and exchange of data. However, cross-chain network organizations do not fully trust each other, and the data in the network is not all open and transparent. RN is a node that forwards and verifies cross-chain transaction requests in a cross-chain network. As an entity that jointly calculates the policies of DO and the attributes of DU in the process of cross-chain data access control, RN implements fine-grained access control of data by calling the matching algorithm of the access control contract. Summary of the invention
[0004] In order to solve the defects of low efficiency of data security communication and sharing between different facilities and institutional chains in the existing network and the inability to ensure the security of data in the cross-chain process, the purpose of the present invention is to provide a blockchain RN access method based on IBE, which consists of 4 algorithms Setup, Extract, Encrypt, and Decrypt. The specific algorithm definition is as follows: Let QID be a set of user identities, where ID is the user's identity number, M is the plaintext message to be encrypted, and C is the encrypted ciphertext, comprising the following steps: (1) The Setup algorithm is used for system initialization. Its input is a security parameter k, and its output is a public parameter PK that is publicly available and a master key MSK that is only known by the key generation center PKG, which is a trusted third party: (2) The Extract algorithm is used to extract the user's private key from the identity information and the master key. The input is the master key MSK and the user's identity ID, and the output is the user's private key SKID: (3) The Encrypt algorithm is used to encrypt messages so that they can only be decrypted by users with a specific identity ID. The input is the public parameter PK, the plaintext message M, and the target user's identity ID. The output is the ciphertext C corresponding to the encrypted M: (4) The algorithm Decrypt is used to decrypt ciphertext. The input is the ciphertext C, the user's private key SKID and the public parameter PK. The output is the plaintext message M: The encryption and decryption process of the IBE mechanism is required to satisfy the consistency constraint, that is, , ,and .
[0005] The beneficial effects of the present invention are as follows: The IBE-based blockchain RN access mechanism provided by the present invention realizes data security communication between chains of different facilities and institutions in the network and cross-chain interoperability with access control, improves the efficiency of cross-chain data sharing, and ensures the security of data in the cross-chain process. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 This is a flowchart of a blockchain RN access method based on IBE in the present invention DETAILED DESCRIPTION
[0007] like Figure 1 As shown, the implementation steps of the present invention are now described in detail. This detailed description should not be considered as limiting the present invention, but should be understood as a more detailed description of certain aspects, features and embodiments of the present invention.
[0008] Example A blockchain RN access method based on IBE is provided. The method consists of four algorithms: Setup, Extract, Encrypt, and Decrypt. The specific algorithm definitions are as follows: Let QID be a set of user identities, where ID is the user's identity number, M is the plaintext message to be encrypted, and C is the encrypted ciphertext. The method includes the following steps: (1) The Setup algorithm is used for system initialization. Its input is a security parameter k, and its output is a public parameter PK that is publicly available and a master key MSK that is only known by the key generation center PKG, which is a trusted third party: (2) The Extract algorithm is used to extract the user's private key from the identity information and the master key. The input is the master key MSK and the user's identity ID, and the output is the user's private key SKID: (3) The Encrypt algorithm is used to encrypt messages so that they can only be decrypted by users with a specific identity ID. The input is the public parameter PK, the plaintext message M, and the target user's identity ID. The output is the ciphertext C corresponding to the encrypted M: (4) The algorithm Decrypt is used to decrypt ciphertext. The input is the ciphertext C, the user's private key SKID and the public parameter PK. The output is the plaintext message M: The encryption and decryption process of the IBE mechanism is required to satisfy the consistency constraint, that is, , ,and .
[0009] The process of identity authentication between RNs in the cross-chain network is as follows: first, when the RNA of chain A sends a communication message M to the RNB of chain B, the identity ID of relay node B is used to calculate the relevant parameters; then the Extract algorithm is run to generate the ciphertext C corresponding to M based on the system parameters PK and QID; after receiving the ciphertext C, relay node B runs the Decrypt algorithm, uses its private key SKID and PK to decrypt the ciphertext C and calculate the plaintext M.
Claims
1. A blockchain RN access method based on IBE, including algorithms Setup, Extract, Encrypt, and Decrypt. The specific algorithm definition is as follows: Let QID be a set of user identities, where ID is the user's identity number, M is the plaintext message to be encrypted, and C is the encrypted ciphertext, characterized in that The following steps are involved: (1) The Setup algorithm is used for system initialization. Its input is a security parameter k, and its output is a public parameter PK that is publicly available and a master key MSK that is only known by the key generation center PKG, which is a trusted third party: ; (2) The Extract algorithm is used to extract the user's private key from the identity information and the master key. The input is the master key MSK and the user's identity ID, and the output is the user's private key SKID: ; (3) The Encrypt algorithm is used to encrypt messages so that they can only be decrypted by users with a specific identity ID. The input is the public parameter PK, the plaintext message M, and the target user's identity ID. The output is the ciphertext C corresponding to the encrypted M: ; (4) The algorithm Decrypt is used to decrypt ciphertext. The input is the ciphertext C, the user's private key SKID and the public parameter PK. The output is the plaintext message M: ; The encryption and decryption process of the IBE mechanism is required to meet the consistency constraint, that is, , ,and .
