| 研究生: |
李明儒 Lee, Ming-Ju |
|---|---|
| 論文名稱: |
抗量子企業區塊鏈性能分析:以 Hyperledger Fabric 與 ML-DSA 後量子簽章為基礎 Quantum-Resistant Blockchain Performance: Evaluating Hyperledger Fabric with ML-DSA Signatures |
| 指導教授: |
陳恭
Chen, Kung 廖峻峰 Liao, Chun-Feng |
| 口試委員: |
劉子源
Liu, Zi-Yuan |
| 學位類別: |
碩士
Master |
| 系所名稱: |
資訊學院 - 資訊科學系碩士在職專班 Excutive Master Program of Computer Science |
| 論文出版年: | 2025 |
| 畢業學年度: | 114 |
| 語文別: | 中文 |
| 論文頁數: | 83 |
| 中文關鍵詞: | Hyperledger Fabric 、PQC 、ML-DSA 、Caliper 、Benchmark |
| 外文關鍵詞: | Hyperledger Fabric, PQC, ML-DSA, Caliper, Benchmark |
| 相關次數: | 點閱:18 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
隨著Shor演算法的發表與量子電腦快速發展,RSA、ECC等傳統公開金鑰演算法面臨被量子電腦破解的危機。有鑑於此,NIST公開徵選可抵抗量子電腦攻擊的後量子密碼學(Post-Quantum Cryptography,PQC)演算法,近期已陸續發布標準並呼籲各界進行PQC遷移(Migration),汰換傳統公鑰演算法。
企業級許可制區塊鏈依賴數位簽章保證交易完整及不可否認性,目前採用的橢圓曲線數位簽章同樣存在被量子電腦破解風險。本研究以Hyperledger Fabric為實驗平臺,嘗試整合NIST ML-DSA後量子簽章標準實現抗量子攻擊,並對新增PQC簽章後的效能差異進行系統化分析與評估。
透過分析Hyperledger Fabric與數位簽章相關的交易環節,本研究修改背書驗證相關程式增加ML-DSA簽章程序,驗證區塊內容資料變化,並透過 Caliper效能評測工具比較不同ML-DSA金鑰參數組之吞吐量(TPS)、交易延遲(Latency)等性能指標。此外,實驗特別分離簽章運算與寫入資料兩種行為,觀察PQC演算法帶來的額外運算與額外資料量,何者對區塊鏈交易效能影響較大。
實驗結果顯示,依金鑰簽章參數不同,加入ML-DSA簽章後吞吐量會下降約40%–68%,而對照模擬不同交易資料長度之效能測試結果,則證明ML-DSA憑證與簽名增加資料量為影響區塊鏈效能之主因。
此外,本研究分析並改良Caliper固定負載測試可能出現不穩定及數據失準問題,提出使用隨機抖動(Jitter)技術改善的做法。配合實驗需要所開發自動測試與分析開源工具,亦可做為未來相關研究之參考
The rise of quantum computing threatens the cryptographic foundations of permissioned blockchains. This research assesses the performance impact of migrating Hyperledger Fabric (HLF) to the NIST-standardized Post-Quantum Cryptography (PQC) digital signature algorithm, ML-DSA.
We modified HLF's endorsement and validation mechanisms and conducted a systematic performance evaluation using the Caliper benchmark tool to measure the impact on throughput (TPS) and latency. The study specifically isolates the effects of computational overhead versus the increased data size of quantum-resistant artifacts.
Experimental results reveal that integrating ML-DSA decreases transaction throughput by 40%–68%, depending on the security parameters. Our analysis demonstrates that this performance degradation is primarily caused by the larger data size of ML-DSA certificates and signatures, rather than the computational cost of the algorithm itself. These findings provide crucial benchmarks and insights for the practical migration of enterprise blockchains to PQC.
The thesis also introduces an improvement to the Caliper benchmark tool using random jitter to enhance testing stability and accuracy.
第一章 緒論 1
1.1 研究背景與動機 1
1.2 研究目的 2
1.3 研究貢獻 3
1.4 論文架構 5
第二章 技術背景與相關研究 6
2.1 後量子密碼學 6
2.1.1 量子危機 6
2.1.2 NIST PQC標準化進程 8
2.1.3 傳統密碼學標準停用時程 11
2.1.4 FIPS 204 ML-DSA 標準 12
2.1.5 CRYSTALS-Dilithium 演算法 13
2.1.6 X.509 憑證之ML-DSA支援 15
2.2 Hyperledger Fabric 17
2.2.1 Hyperledger Fabric 架構簡介 19
2.2.2 區塊資料結構分析 22
2.3 Hyperledger Fabric遷移PQC相關研究 24
2.4 Hyperledger Caliper 與效能調校 25
第三章 實驗設計 29
3.1 區塊鏈測試架構 29
3.2 測試工具與方法 30
3.2.1 測試Chaincode與測試客戶端 30
3.2.2 效能指標選用 32
3.2.3 測試參數選擇 32
3.2.4 PQC演算法選擇 34
3.3 測試參數研究 35
3.3.1 吞吐量波動原因分析 37
3.3.2 Caliper 測試速率控制分析 41
3.3.3 測試調整與優化 44
3.4 Caliper測試設計 47
3.5 相關開源專案修改 49
3.5.1 PQC程式庫選擇 49
3.5.2 程式修改策略 50
3.5.3 程式修改說明 53
3.6 ML-DSA 簽章與驗證實作 56
3.7 測試流程設計 58
3.8 測試環境參考資料 59
第四章 實驗結果與評估 60
4.1 實驗結果 60
4.2 結果分析 65
4.2.1 運算資源使用狀況 65
4.2.2 區塊落點分析 66
4.2.3 區塊資料大小比較 67
4.2.4 ML-DSA簽章效能影響分析 69
4.2.5 交易資料量對效能影響之分析 74
4.3 系統限制與挑戰 76
第五章 結論與未來研究方向 78
5.1 結論 78
5.2 未來研究方向 79
參考文獻 81
[1] Hyperledger. "Hyperledger Fabric Document." https://hyperledger-fabric.readthedocs.io/en/latest/index.html (accessed July 2025).
[2] NIST. "Post-Quantum Cryptography Standardization." https://csrc.nist.gov/projects/post-quantum-cryptography/post-quantum-cryptography-standardization (accessed October 2025).
[3] NIST. "Announcing Request for Nominations for Public-Key Post-Quantum Cryptographic Algorithms." National Institute of Standards and Technology. https://csrc.nist.gov/projects/post-quantum-cryptography/post-quantum-cryptography-standardization/call-for-proposals (accessed October 2025).
[4] NIST, "Module-Lattice-Based Digital Signature Standard," National Institute of Standards and Technology, August 13 2024. [Online]. Available: https://doi.org/10.6028/NIST.FIPS.204
[5] D. Deutsch, "Quantum theory, the Church–Turing principle and the universal quantum computer," Proceedings of the Royal Society of London. A. Mathematical and Physical Sciences, vol. 400, no. 1818, pp. 97–117, 1985.
[6] P. W. Shor, "Algorithms for quantum computation: discrete logarithms and factoring," in Proceedings 35th annual symposium on foundations of computer science, 1994: Ieee, pp. 124–134.
[7] H. Gharavi, J. Granjal, and E. Monteiro, "Post-Quantum Blockchain Security for the Internet of Things: Survey and Research Directions," IEEE Communications Surveys & Tutorials, vol. 26, no. 3, pp. 1748–1774, 2024, doi: 10.1109/COMST.2024.3355222.
[8] C. Gidney and M. Ekerå, "How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits," Quantum, vol. 5, p. 433, 2021.
[9] F. Hasan et al., "Migrating to post-quantum cryptography: a framework using security dependency analysis," 2023.
[10] V. Gheorghiu and M. Mosca, "Benchmarking the quantum cryptanalysis of symmetric, public-key and hash-based cryptographic schemes," arXiv preprint arXiv:1902.02332, 2019.
[11] IBM. "2025 Development & Innovation Roadmap." IBM. https://www.ibm.com/quantum/technology#roadmap (accessed July 2025).
[12] CSA. "Cloud Security Alliance Sets Countdown Clock to Quantum." Cloud Security Alliance. https://cloudsecurityalliance.org/press-releases/2022/03/09/cloud-security-alliance-sets-countdown-clock-to-quantum/ (accessed July 2025).
[13] 維基百科. "NIST Post-Quantum Cryptography Standardization." 維基百科. https://en.wikipedia.org/wiki/NIST_Post-Quantum_Cryptography_Standardization (accessed July 2025).
[14] P. Fernando, "Post-Quantum Cryptography: Current Developments, Challenges, and Future Directions," Path of Science, vol. 11, no. 6, pp. 4001–4012, 2025.
[15] R. Perlner, "FIPS 206 Status Update," presented at the 6th PQC Standardization Conference, Gaithersburg, MD, 2025. [Online]. Available: https://csrc.nist.gov/csrc/media/presentations/2025/fips-206-fn-dsa-(falcon)/images-media/fips_206-perlner_2.1.pdf.
[16] NIST. "NIST IR 8547 (Initial Public Draft) Transition to Post-Quantum Cryptography Standards." NIST. https://csrc.nist.gov/pubs/ir/8547/ipd (accessed July 2025).
[17] IETF. "Internet X.509 Public Key Infrastructure - Algorithm Identifiers for the Module-Lattice-Based Digital Signature Algorithm (ML-DSA)." IETF. https://datatracker.ietf.org/doc/draft-ietf-lamps-dilithium-certificates/ (accessed July 2025).
[18] S. Ayyasamy, "Blockchain Network Based Hyperledger Fabric Techniques–A Survey," Journal of Ubiquitous Computing and Communication Technologies, vol. 4, no. 4, pp. 245–255, 2023.
[19] A. Holcomb, G. Pereira, B. Das, and M. Mosca, "PQFabric: a permissioned blockchain secure from both classical and quantum attacks," 2021: IEEE, pp. 1–9.
[20] D. Commey, S. G. Hounsinou, and G. V. Crosby, "Post-Quantum Secure Blockchain-Based Federated Learning Framework for Healthcare Analytics," IEEE Networking Letters, 2025.
[21] S. Abbas, A. Sultana, and G. Kaddoum, "Quantum-safe blockchain in hyperledger fabric," IEEE Networking Letters, 2024.
[22] R. K. Kaushal and N. Kumar, "Exploring hyperledger caliper benchmarking tool to measure the performance of blockchain based solutions," in 2024 11th international conference on reliability, infocom technologies and optimization (trends and future directions)(ICRITO), 2024: IEEE, pp. 1–6.
[23] K. S. S. Wai and N. N. M. Thein, "Performance analysis on block size valuation of hyperledger fabric blockchain," in 2023 IEEE Conference on Computer Applications (ICCA), 2023: IEEE, pp. 50–55.
[24] M. Shuaib, N. H. Hassan, S. Usman, S. Alam, N. A. A. Bakar, and N. Maarop, "Performance evaluation of DLT systems based on hyper ledger fabric," in 2022 4th International Conference on Smart Sensors and Application (ICSSA), 2022: IEEE, pp. 70–75.
[25] Hyperledger. "Hperledger Fabric/Architecture Reference/Performance considerations." https://hyperledger-fabric.readthedocs.io/en/release-2.5/performance.html (accessed July 2025).
[26] P. Adhav. "Hyperledger Fabric v2.5 Performance Optimization Using Caliper and Tape: How I achieved 2500 TPS." https://medium.com/coinmonks/2500-tps-hyperledger-fabric-v2-5-performance-optimization-using-caliper-and-tape-ca7e59627b6c (accessed July 2025).
[27] D. Kelsey. "Benchmarking Hyperledger Fabric 2.5 Performance." https://www.lfdecentralizedtrust.org/blog/2023/02/16/benchmarking-hyperledger-fabric-2-5-performance (accessed July 2025).
[28] M. R. Juliansyah et al., "A Performance Analysis of Hyperledger Fabric for Blockchain-Based Concert Ticketing Systems," in 2024 International Conference on Electrical Engineering and Computer Science (ICECOS), 2024: IEEE, pp. 147–151.
全文公開日期 2027/12/15