Submitted:
27 July 2024
Posted:
30 July 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
- For large-amount token transfer and transmission of important private data in cross-chain, there is no need to verify its offline identity repeatedly, and its reliability is ensured through strict identity verification on the chain;
- In multi-chain ecology, confidential information sharing or anonymous voting can be carried out for mutual distrust among members;
- Prevent various types of attacks and avoid possible losses caused by loopholes in consensus protocol in the participating chain;
- Due to the reliability of SMPTC3, there is no need for any additional security requirements beyond security logic of underlying blockchains, especially the third-party centralized nodes or the security committees in the relay chain;
- 5.
- In order to resist malicious attacks such as Sybil and Dos, we improve the homomorphic encryption method (P-ElGamal) and threshold signature method, and combine with the improved secure multi-party computation method (SMPTC3). The improved combination method can resist a variety of irresistible attacks of the original blockchain.
- 6.
- We propose an improved multi-party security computation method (SMPTC3) for blockchain. Compared with the original method, it significantly reduces the computational complexity and communication complexity, so the SMPTC3 in this paper is efficient. And SMPTC3 can be applied to a variety of environments except blockchain.
- 7.
- We convert the private data of multiple participants in different chains into secure sets. This method has great application value in cross-chain interaction, and can also provide a new secure transmission scheme for other cross-chain methods.
- 8.
- SMPTC3 uses secure multi-party computation to solve collusion attacks and avoid relying on third-party central nodes or security committees for authentication. SMPTC3 is a novel cross-chain interaction protocol.
- 9.
- Based on fabric, Ethernet and cosmos systems, we implement the multi-party participation model of SMPTC3 and verify it. Experiments show that this protocol has high performance.
2. Background
2.1. Blockchains
2.1.1. Cross-Chain
2.1.2. Smart Contracts
2.2. Secure Multi-Party Computation
2.2.1. Mathematical Definition
2.2.2. Honest Participants
2.2.3. Semi-Honest Model
2.2.4. Malicious Adversary Model
2.3. Homomorphic Encryption
2.3.1. Key Generation
2.3.2. Encryption
2.3.3. Decryption
2.3.4. Homomorphic Property
3. Confidential Set and Secure Multi-party Computation for Cross-Chain
3.1. Constructing Transaction Set
3.2. First Round of Participant Communication
3.3. Second Round of Participant Communication
| Protocol 1 Protocol 1 Constructing the Secret Polynomial |
|
Input: Transaction Elements from each Participant Output: Secret Polynomial 1: Each participant hashes and compiles their transaction elements into a secret set . 2: constructs quadratic secret polynomials based on the elements in the secret set . 3: randomly divides into parts. For each participant and each polynomial fragment , generate a random number such that . These random numbers enhance security and ensure that . 4: randomly sends the t polynomial fragments to participating nodes. 5: Participants collectively add up all the polynomial fragments to obtain , then broadcast it to all cross-chain participants. 6: Each node adds up all received polynomials to construct . |
3.4. Secure Comparison
| Protocol 2 Secure Comparison Protocol |
|
Output: Verification Result Procedure CompareElements (F(x), e_i) For i=1 to m If F(e_i)!=0 Then return False // Verification failed, indicating data tampering, terminate the cross-chain contract Else Continue End if End Send transactions to Pools // Execute cross-chain transfer |
4. Application Use Cases
4.1. Multi-Chain Asset Transfer
4.2. Multi-Chain Information Interaction
5. Trusted Cross-Chain Protocol for Two Participants
5.1. Direct Extension of TMPC3 to Two Participants
5.2. Two-Participant Cross-Chain Verification Method Based on Discrete Logarithms
| Protocol 3 2PC3 Protocol |
|
Input: Transaction Elements Set and from Participants and Output: Verification Result 1: Participants and jointly generate a large prime number . 2: and each generate a large random number and . 3: and respectively perform the first round of discrete logarithm encryption on elements from set and from set , denoted as, where , then forming confidential sets and . 4: and mutually exchange and . 5: and respectively perform the second round of discrete logarithm encryption on and , denoted as , forming sets and . 6: and send and to the validator contract. After verification by the validator contract, the verification result is sent to the participants. |
6. Implementation and Evaluation
6.1. Experiment Setup
6.3. Security Test
6.3. Verify Time of SMPTC3
7. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Nakamoto, S. Bitcoin: A peer-to-peer electronic cash system. Decentralized Business Review, 2008, 21260.
- Mao, H.; Nie, T.; Sun, H.; Shen, D.; Yu, G. A Survey on Cross-Chain Technology: Challenges, Development, and Prospect. IEEE Access 2022, 11, 45527–45546. [Google Scholar] [CrossRef]
- Wood, G.; et al. Ethereum: A secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper 2014, 151, 1–32. [Google Scholar]
- Bentov, I.; Pass, R.; Shi, E. Snow White: Provably Secure Proofs of Stake. IACR Cryptol. ePrint Arch. 2016, 919. [Google Scholar]
- David, B.; Ga, P.; Kiayias, A.; Russell, A. Ouroboros praos: An adaptively-secure, semi-synchronous proof-of-stake protocol. Cryptology ePrint Archive 2017, 2017, 573. [Google Scholar]
- Kiayias, A.; Russell, A.; David, B.; Oliynykov, R. Ouroboros: A provably secure proof-of-stake blockchain protocol. Annual International Cryptology Conference 2017, Springer, 357–388. [Google Scholar]
- Angelis, S.; Aniello, L.; Baldoni, R.; Lombardi, F.; Margheri, A.; Sassone, V. PBFT vs Proof-of-Authority: Applying the CAP Theorem to Permissioned Blockchain. ITASEC 2018, 2018, 2058, 06. [Google Scholar]
- Liu, X.; Zhao, G.; Wang, X.; Lin, Y.; Zhou, Z.; Tang, H.; Chen, B. MDP-Based Quantitative Analysis Framework for Proof of Authority. Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC) 2019, 227-236.
- Li, Y.; Wang, Z.; Fan, J.; Zheng, Y.; Luo, Y.; Deng, C.; Ding, J. An Extensible Consensus Algorithm Based on PBFT. Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC) 2019, 17-23.
- Wang, Y.; Song, Z.; Cheng, T. Improvement Research of PBFT Consensus Algorithm Based on Credit. Blockchain and Trustworthy Systems (BlockSys 2019), Springer, 2019, Vol. 1156, 47–59. [Google Scholar]
- Wang, R.; Zhang, L.; Xu, Q.; Zhou, H. K-Bucket Based Raft-Like Consensus Algorithm for Permissioned Blockchain. 2019 IEEE 25th International Conference on Parallel and Distributed Systems (ICPADS) 2019, 996–999. [Google Scholar]
- Kim, J.; Essaid, M.; Ju, H. Inter-Blockchain Communication Message Relay Time Measurement and Analysis in Cosmos. 2022 23rd Asia-Pacific Network Operations and Management Symposium (APNOMS) 2022, 1-6.
- Abbas, H.; Caprolu, M.; Pietro, R. Analysis of Polkadot: Architecture, Internals, and Contradictions. 2022 IEEE International Conference on Blockchain (Blockchain) 2022, 61–70. [Google Scholar]
- Zabka, P. ; Foerster, K-T. ; Schmid, S.; Decker, C. Empirical evaluation of nodes and channels of the lightning network. Pervasive and Mobile Computing 2022, 83, 101584. [Google Scholar]
- Fusion Foundation. Fusion Whitepaper: An inclusive Cryptofinance platform based on blockchain. 2017.
- Trestioreanu, L.; Cassagnes, C.; State, R. Deep dive into Interledger: Understanding the Interledger ecosystem. arXiv e-prints 2022.
- LayerZero. https://layerzero.network/. 2022.
- Xie, T.; Zhang, J.; Cheng, Z.; Zhang, F.; Zhang, Y.; Jia, Y.; Boneh, D.; Song, D. zkBridge: Trustless Cross-chain Bridges Made Practical. CCS 2022, 3003–3017. [Google Scholar]
- Yao, A.C.-C. Protocols for Secure Computations. FOCS 1982, 1982, 160–164. [Google Scholar]
- Yao, A.C.-C. How to Generate and Exchange Secrets. FOCS 1986, 1986, 162–167. [Google Scholar]
- Goldwasser, S. Multi-Party Computations: Past and Present. PODC 1997, 1997, 1–6. [Google Scholar]
- Dalskov, A.P.K.; Escudero, D.; Nof, A. Fast Fully Secure Multi-Party Computation over Any Ring with Two-Thirds Honest Majority. CCS 2022, 653–666. [Google Scholar]
- Bayatbabolghani, F.; Blanton, M. Secure Multi-Party Computation. CCS 2018, 2018, 2157–2159. [Google Scholar]
- Zhu, R.; Cassel, D.; Sabry, A.; Huang, Y. NANOPI: Extreme-Scale Actively-Secure Multi-Party Computation. CCS 2018, 2018, 862–879. [Google Scholar]
- Freedman, M.J.; Hazay, C.; Nissim, K.; Pinkas, B. Efficient Set Intersection with Simulation-Based Security. Journal Cryptol. 2016, 29(1), 115–155. [Google Scholar] [CrossRef]
- Cheon, J.H.; Jarecki, S.; Seo, J.H. Multi-Party Privacy-Preserving Set Intersection with Quasi-Linear Complexity. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2012, 95-A(8), 1366-1378.
- El Gamal, T. A public key cryptosystem and a signature scheme based on discrete logarithms. IEEE Trans. Inf. Theory 1985, 31(4), 469–472. [Google Scholar] [CrossRef]
- Goyal, V.; Mohassel, P.; Smith, A.D. Efficient Two Party and Multi Party Computation Against Covert Adversaries. EUROCRYPT 2008, 2008, 289–306. [Google Scholar]
- Volgushev, N.; Schwarzkopf, M.; Getchell, B.; Varia, M.; Lapets, A.; Bestavros, A. Conclave: secure multi-party computation on big data. EuroSys 2019, 2019, 3:1–3:18. [Google Scholar]
- Dolev, S.; Li, Y.; Sharma, S. Private and Secure Secret Shared MapReduce. DBSec 2016, 2016, 151–160. [Google Scholar]
- Dahl, M.; Mancuso, J.; Dupis, Y.; Decoste, B.; Giraud, M.; Livingstone, I.; Patriquin, J.; Uhma, G. Private Machine Learning in TensorFlow using Secure Computation. CoRR abs/1810.08130, 2018.
- Kumar, N.; Rathee, M.; Chandran, N.; Gupta, D.; Rastogi, A.; Sharma, R. Low: Secure TensorFlow Inference. IEEE Symposium on Security and Privacy 2020, 2020, 336–353. [Google Scholar]
- Dong, Y.; Milanova, A.L.; Dolby, J. SecureMR: secure mapreduce computation using homomorphic encryption and program partitioning. HotSoS 2018, 2018, 4:1–4:13. [Google Scholar]
- Bhushan, B.; Sinha, P.; Sagayam, K.M.; Andrew, J. Untangling blockchain technology: A survey on state of the art, security threats, privacy services, applications and future research directions. Computers & Electrical Engineering 2021, 90.
- Wu, S.; Li, J.; Duan, F.; Lu, Y.; Zhang, X.; Gan, J. The Survey on the development of Secure Multi-Party Computing in the blockchain. 2021 IEEE Sixth International Conference on Data Science in Cyberspace (DSC), Shenzhen, China, 2021, 1-7.
- Belchior, R.; Vasconcelos, A.; Guerreiro, S.; Correia, M. A Survey on Blockchain Interoperability: Past, Present, and Future Trends. ACM Computing Surveys 2021, 54, 1–41. [Google Scholar] [CrossRef]
- Zhang, J.; Gao, J.; Li, Y.; Chen, Z.; Guan, Z.; Chen, Z. Xscope: Hunting for Cross-Chain Bridge Attacks. ASE 2022, 2022, 171:1–171:4. [Google Scholar]
- Dou, J.; Liu, X.; Zhou, S.; Li, S. Efficient Secure Mutiparty Set Operations Protocols and Their Application. Chinese Journal of Computers 2018, 41, 1844–1860. [Google Scholar]
- Goldreich, O. Foundations of cryptography: Volume 2, Basic applications. Cambridge University Press, London, UK, 2009.








| Cross-Chain Project | Consensus | Cross-Chain Technology | Security | Transaction Speed |
|---|---|---|---|---|
| Cosmos | Tendermint BFT | IBC Protocol & Relays | Medium | Very High |
| Polkadot | Asynchronous BFT | Relays | Medium | Medium |
| Lighting Network | Following transactions chain | Channels | Medium | High |
| Fusion | PoW | DCRM | Medium | Medium |
| Interledger | Following transactions chain | Multi-Notary | Low | Medium |
| Date | Victimization Agreement | Type of Attack | Operation Position |
|---|---|---|---|
| 2021.07 | Chainswap | Check for defects | After signing/cross-chain |
| 2021.08 | Poly Network | Hash collosion/check defect | signature |
| 2022.01 | Qubit Bridge | Incorrect setup/check defect | Before cross-chain |
| 2022.01 | Multichain | Interface compatibility issues | Before cross-chain |
| 2022.02 | Meter Bridge | Inspection defects | Before cross-chain |
| 2022.02 | Wormhole | Interface verification problem | signature |
| 2022.03 | Li Finance | Inspection defects | Before cross-chain |
| 2022.03 | Ronin Network | Validator control | signature |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).