§ 瀏覽學位論文書目資料
  
系統識別號 U0002-0907202114394600
DOI 10.6846/TKU.2021.00215
論文名稱(中文) 私鑰復原儲存方式研究
論文名稱(英文) Research for Recovery and Saving Private key
第三語言論文名稱
校院名稱 淡江大學
系所名稱(中文) 資訊工程學系碩士班
系所名稱(英文) Department of Computer Science and Information Engineering
外國學位學校名稱
外國學位學院名稱
外國學位研究所名稱
學年度 109
學期 2
出版年 110
研究生(中文) 林柏耀
研究生(英文) BO-YAO LIN
學號 608410436
學位類別 碩士
語言別 繁體中文
第二語言別
口試日期 2021-06-18
論文頁數 62頁
口試委員 指導教授 - 陳伯榮
委員 - 蔣璿東
委員 - 王鄭慈
關鍵字(中) 私鑰管理
分散式系統
關鍵字(英) private key management
distribute system
第三語言關鍵字
學科別分類
中文摘要
近年虛擬貨幣交易逐漸受到市場注目,新穎的貨幣標的與提供投資者貨幣交易管道的交易所不斷出現在市場上,全世界都在關注著虛擬貨幣瞬息萬變的投資市場,熱錢大量湧入讓使用者帳戶資產不斷上漲,帳戶安全也因此成了投資者所關注的課題。
    本論文將針對幾種常見的私鑰的保存方式做討論,隨著近年DeFi逐漸流行,去中心化的交易所市占率不斷提升,人們選擇自保管私鑰的比率也隨之提高,本研究將從分散式系統的架構下探討使用者的私鑰在分散式環境下保存的安全性,同時透過分散式系統協助使用者的私鑰在遺失時可以成功的還原回來。於分散式的環境中討論防範加密機制與設置混淆訊息來抵禦潛在的攻擊者以及維護使用者資料安全性及資料整體性,有助於提升私鑰保管的安全。
	在實作中透過四台電腦與八台電腦分別進行私鑰的加密與分散儲存,並進行安全性討論,以及架構延伸的探討。在實作中,儲存階段可以防範潛在的攻擊者意圖竊取使用者完整私鑰,於還原階段也可以協助使用者將遺失的私鑰還原,顯示透過分散式系統對於使用者私鑰保存有正面的幫助。
英文摘要
This paper will discuss several common ways of storing private keys. With the increasing popularity of DeFi in recent years, the market share of decentralized exchanges has continued to increase, and the rate of people choosing to keep private keys by themselves has also increased. This research will explore the security of the user's private key stored in a distributed environment and at the same time assist the user's private key to be successfully restored when it is lost through the distributed system. Discuss preventing encryption mechanisms and setting up obfuscated messages in a distributed environment to resist potential attackers and maintain user data security and data integrity, which helps to improve the security of private key custody. In the implementation, the storage phase can prevent potential attackers from attempting to steal the user's complete private key. During the restoration phase, it can also assist the user in restoring the lost private key, showing that the distributed system has a positive effect on the user's private key.
第三語言摘要
論文目次
目錄
第一章前言1
1.1 研究動機1
1.2 論文架構2
第二章背景知識4
2.1 區塊鏈介紹4
2.2 區塊鏈架構5
2.2.1MerkleTree6
2.2.2交易,挖礦與產生新區塊8
2.2.3區塊鏈加密機制10
2.3 以太坊12
2.3.1智能合約13
2.3.2 DApp16
2.4 虛擬貨幣託管18
2.4.1 遺失貨幣研究18
2.4.2中心化的交易所20
2.4.3第三方託管23
2.4.4去中心化的交易所24
第三章研究方法27
3.1問題陳述27
3.1.1私鑰託管(儲存)27
3.1.2私鑰遺失28
3.2架構29
3.2.1私鑰儲存30
.分割私鑰31
.加密私鑰片段31
.分散儲存加密後的私鑰片段32
3.2.2私鑰還原33
.身分驗證34
.伺服器取回加密私鑰片段35
.解密被加密之私鑰片段35
.重組解密後的私鑰35
第四章 研究結果37
4.1儲存之實驗結果37
4.1.1以四台電腦進行儲存之實驗37
.登入系統37
.分割私鑰38
.加密私鑰片段39
.分散儲存加密後的私鑰片段41
4.1.2以八台電腦進行儲存之實驗42
.分散儲存加密後的私鑰片段42
4.2還原之實驗結果45
4.2.1以四台電腦進行還原之實驗45
.身分驗證45
.伺服器取回私鑰片段46
.解密被加密之私鑰片段46
.重組解密後的私鑰48
4.2.2以八台電腦進行還原之實驗48
.伺服器取回私鑰片段48
.解密被加密之私鑰片段49
.安全性討論50
.混淆訊息對提升安全性之幫助50
.分散式儲存對提升安全性之影響51
第五章 結論與未來工作53
參考文獻55

圖目錄
圖2.1 MerkleTree Hash示意圖7
圖2.2 新區塊產生流程圖8
圖2.3 數位簽章運作示意圖11
圖2.4 區塊鏈中交易驗證示意圖12
圖2.5 智能合約部署與EVM互動圖14
圖2.6 DApp與SmartContract關係說明17
圖2.7 Chainalysis分析比特幣遺失詳細數據18
圖2.8 Chainalysis分析比特幣遺失比例圖19
圖2.9 DEX交易量24
圖3.1 分散式儲存私鑰流程圖30
圖3.2 私鑰片段加密示意圖32
圖3.3 分散式還原私鑰流程圖34
圖3.4 加密私鑰片段還原35
圖3.5 使用者私鑰重組示意圖36

表目錄
表2.1 近年交易所被駭清單22
表4.1 含識別訊息之私鑰片段加密運算過程40
表4.2 同群組電腦儲存內容明細41
表4.3 同一型態私鑰區段分送至不同電腦儲存紀錄表42
表4.4 第一群組電腦儲存明細表43
表4.5 第二群組電腦儲存明細表43
表4.6 加密私鑰片段解密運算過程47
參考文獻
[1]Mic產業情報研究所 , Retrieved July 9 2020,from https://mic.iii.org.tw/news.aspx?id=572&List=28
[2] bitcoin-whitepaper from https://git.dhimmel.com/bitcoin-whitepaper/
[3]Wikipedia ,from
https://zh.wikipedia.org/zh-tw/%E4%BB%A5%E5%A4%AA%E5%9D%8A
[4]SSRN , Retrieved March 12 2019 from
https://web.archive.org/web/20191018041512/https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3351630
[5]Wikipedia ,from
https://zh.wikipedia.org/wiki/%E5%A4%9A%E5%90%89%E5%B8%81
[6]Econotimes , Retrieved January 11 2016 from
http://www.econotimes.com/Tunisia-To-Replace-eDinar-With-Blockchain-Based-Currency-140836
[7]WayBackMachine ,by IAFRIKAN NEWS ,Retrieved November24 2016 from
https://web.archive.org/web/20170430063948/https://www.iafrikan.com/2016/11/24/senegal-to-introduce-a-new-blockchain-based-national-digital-currency-making-it-only-the-second-country-to-have-a-national-digital-currency/
[8]香港奇點財經 ,Retrieved December 14 2018 作者:袁煜明、朱翊邦,from https://sfl.global/zh-hant/news_post/huogaohejishixiliezhong-tuoguan/
[9]BlockTempo ,by Sean Chen ,March 30 2021 ,from
https://www.blocktempo.com/the-oakland-athletics-announce-that-they-accept-bitcoin-as-a-payment-and-will-reserved-their-income-from-bitcoin/
[10]KNOWING新聞,by Amy Liu,March 5 2021 from https://news.knowing.asia/news/604f6f47-43f0-4020-aed9-3238259c6d2c [11]wikipedia ,from
https://zh.wikipedia.org/wiki/%E5%93%88%E5%B8%8C%E6%A0%91#cite_note-3
[12]bitcoin wiki from
https://en.bitcoinwiki.org/wiki/Simplified_Payment_Verification
[13] PROOFS OF WORK AND BREAD PUDDING PROTOCOLS by Markus Jakobsson and Ari Juels from https://link.springer.com/content/pdf/10.1007/978-0-387-35568-9_18.pdf
[14]桑幣知識,from https://know.zombit.info/pos/
[15]investpedia ,by JAKE FRANKENFIELD ,May 6 2019 ,form
https://www.investopedia.com/terms/1/51-attack.asp
[16]WayBackMachine ,from https://web.archive.org/web/20170205142845/http://lamport.azurewebsites.net/pubs/byz.pdf
[17]picture , from https://books.google.com.tw/books?id=Nnvhz_VqAS4C&pg=PA11&redir_esc=y&hl=zh-TW#v=onepage&q&f=false
[18]Wikipedia ,from
https://zh.wikipedia.org/wiki/%E5%85%AC%E5%BC%80%E5%AF%86%E9%92%A5%E5%8A%A0%E5%AF%86
[19]bitcoin wiki ,from  https://en.bitcoin.it/wiki/Secp256k1
[20]Wikipedia ,from
https://zh.wikipedia.org/wiki/%E6%95%B8%E4%BD%8D%E7%B0%BD%E7%AB%A0
[21]Bitcoin Magzine ,by VITALIK BUTERIN January 23, 2014 , from
https://bitcoinmagazine.com/business/ethereum-next-generation-cryptocurrency-decentralized-application-platform-1390528211
[22]WaybackMachine ,by Nick Szabo ,Retrieved from
https://web.archive.org/web/20180427165653/http://www.fon.hum.uva.nl/rob/Courses/InformationInSpeech/CDROM/Literature/LOTwinterschool2006/szabo.best.vwh.net/smart_contracts_2.html
[23]Binance Academy ,Retrieved from 
https://academy.binance.com/zt/articles/what-are-smart-contracts
[24]CHAINNEWS , Retrieved April 2 2021 ,from
https://www.chainnews.com/zh-hant/articles/697638451687.htm
[25]Github ,from
https://cypherpunks-core.github.io/ethereumbook_zh/14.html
[26]sci-hub,by Shuai and Yong from
https://sci-hub.se/10.1109/ivs.2018.8500488
[27] sci-hub,by Mohamed Tahar Hammi, Badis Hammi, Patrick Bellot,
Ahmed Serhrouchni from
https://sci-hub.se/10.1016/j.cose.2018.06.004
[28]sci-hub ,by AYESHA SHAHNAZ , USMAN QAMAR, AND AYESHA KHALID from
https://sci-hub.se/10.1109/access.2019.2946373
[29]scihub , by Federico Panisi* from https://sci-hub.se/10.2139/ssrn.3066543
[30]github,from 
https://github.com/DavidJohnstonCEO/DecentralizedApplications
[31]FINANCE MAGNATES ,by Arnab Shome  Retrieved November28 2017 ,from https://www.financemagnates.com/cryptocurrency/news/study-finds-almost-4-million-bitcoins-lost-forever/
[32]Yahoo Finance , by Jeff John Roberts, Nicolas Rapp Retrieved November25 2017 from
https://finance.yahoo.com/news/exclusive-nearly-4-million-bitcoins-133009164.html
[33]wikipedia
https://zh.wikipedia.org/wiki/%E5%88%86%E5%8F%89#%E7%A1%AC%E5%88%86%E5%8F%89
[34]CNEWS by Jerry Retrieved September 4 2019 ,from
https://cnews.com.tw/146190904a01/
[35]BLOCKTEMPO ,by Block beats Retrieved August 7 	2019 , from
https://www.blocktempo.com/bitcoin-past-hard-fork/
[36]NewsSBTC ,by Rick Delafont ,from
https://www.newsbtc.com/news/bitcoin/chainalysis-up-to/
[37]ZOMBIT BLOCKCHAIN ,by James May 31 2021 ,from
https://zombit.info/taiwan-well-known-cryptocurrency-exchange/
[38]鏈新聞 ,by 	tsai June 14 2020 ,from
https://www.abmedia.io/the-founder-of-the-crypto-exchange-quadrigacx-died-with-a-private-key
[39]CHAINNEWS ,by頭等艙 November 26 2019 from
https://www.chainnews.com/zh-hant/articles/192341586578.htm
[40]wikipedia
https://zh.wikipedia.org/wiki/Mt._Gox
[41] 中時新聞網 ,by 徐慈薇 August 8 2016 ,from
https://www.chinatimes.com/realtimenews/20160808002931-260410?chdtv
[42]Bitfinix ,October 13 2016 ,from 
https://www.bitfinex.com/posts/155
[43] ithome ,by陳曉莉 May 9 2019 ,from
https://www.ithome.com.tw/news/130529
[44]Technews ,by Chen Kobe August 1 2019 ,from
https://technews.tw/2019/08/01/bitpoint-hacked-bptaiwan-stop-service/
[45]BLOCKTEMPO ,by Claire Lin February 4 2021 ,from
https://www.blocktempo.com/kucoin-users-were-unaffected-by-the-285-million-hack-of-2020/
[46]SSRN ,by Matthias Haentjens , Tycho de Graaf and Ilya Kokorin Arpil 30 2020 ,from
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3589381
[47]博碩士論文行動網 ,from
https://hdl.handle.net/11296/6759s3
[48]Shamir's Secret Sharing  ,from
http://web.mit.edu/6.857/OldStuff/Fall03/ref/Shamir-HowToShareASecret.pdf
[49]]BLOCKTEMPO , by im Token December 8 2020 ,from
https://www.blocktempo.com/what-is-a-decentralized-exchange/
[50]TheNewsLens關鍵評論 ,by Daniel Chou May 12 2021 ,from
https://www.thenewslens.com/article/150430
[51]bitcoinwiki , from https://en.bitcoin.it/wiki/Seed_phrase
論文全文使用權限
校內
校內紙本論文立即公開
同意電子論文全文授權校園內公開
校內電子論文立即公開
校外
同意授權
校外電子論文立即公開

如有問題,歡迎洽詢!
圖書館數位資訊組 (02)2621-5656 轉 2487 或 來信