Simulation of Homomorphic Encryption of Blockchain Data Based on Cross Domain Authentication Protocol
Blockchain achieves highly reliable,low-cost,and scalable cloud storage services.Blockchain data storage often requires high-density cross domain fusion,but there is a risk of data loss in the cross domain storage process.In order to ensure the confidentiality of blockchain data storage,a homomorphic encryption method for block-chain data based on cross-domain authentication protocol was proposed.Firstly,the architecture of blockchain was built through data layer,network layer and application layer in order to analyze the structure of block body and block header.Secondly,a blockchain storage model was constructed by initiator,receiver,server and other entities.Combined with the certificate form of the blockchain,the certificate and authentication server were used as nodes to design a cross-domain authentication protocol.Thirdly,a bilateral trust relationship of cross-domain storage was de-termined,and then the authentication of identity security was achieved.Furthermore,the homomorphic encryption al-gorithm was adopted to generate an encrypted public key pair and a private key pair.Finally,the ciphertext was de-crypted by user·s private key and parameters.Thus,the plaintext information was obtained.Simulation results show that the data communication load is less than 1500 bit after using the proposed method.The test result of data cipher-text characteristics proves that the possibility of the proposed method to be cracked is extremely low.