| The SSL protocol,also known as the Secure Sockets Layer,is a communication protocol widely used in the Internet.It authenticates each other,uses digital signatures,and uses encryption to achieve secure communication between the client and the server.Communication integrity and privacy.The SSL protocol is a common communication protocol widely used in the network.Its scope of use has almost covered all over the world,but since 2009,the SSL protocol has been found to have major security holes and is vulnerable to man-in-the-middle attacks.In the following years,many large global companies,individuals and even the government have received a man-in-the-middle attack.In recent years,blockchain technology has exploded.It is the underlying technology of Bitcoin.It was born out of Bitcoin and is not limited to Bitcoin.It can be applied in many fields and is considered to be the most disruptive technology since the invention of the Internet.Innovation is even thought to be used to reshape financial and living structures.Blockchain technology is a brand-new technology theory that combines P2 P network connections,asymmetric encryption,stochastic subdivision algorithms,digital signatures,etc.,as well as macroeconomics and economics game in economics.Chain technology is not a technology,but a collective of many technologies under one consensus.This article will use the workload proof mechanism,digital encryption algorithm,authentication mechanism,and consensus thought in blockchain technology to improve the SSL protocol to improve the security of the SSL protocol.Apply the consensus idea in the blockchain,decentralize,and ensure security in the transmission through a large number of parallel nodes.Specifically,improve the handshake protocol in the SSL protocol and change the three random numbers used in the handshake protocol to calculate the final key.The transmission process.In the SSL protocol,three random numbers are transmitted in the same channel.In this paper,the third random number is transmitted through an uncertain and reliable channel.In the search for this random channel,using the way to find the best miner in the blockchain,and applying the proof-of-work mechanism,the client will submit the third random number to the best miner produced in the mining and mined by the miner.Give it to the server.The blockchain digital signature algorithm used in the transmission process is used for authentication,and the symmetric encryption algorithm used in the original SSL protocol is changed to asymmetric encryption in the blockchain.As the mining process and encryption process are added to the original SSL model,the connection time of the improved model will be prolonged.This article also shortens the time overhead of the entire connection process in some ways.First,by replacing the TCP used for transmission in the SSL protocol with a network.Within a reliable UDP protocol,then,to simplify the miner's mining random algorithm,shorten the average time for successful mining,and finally,improve the digital signature algorithm,instead of message digest,but adding a timestamp,the receiver directly verify the timestamp Effectiveness.Finally,experiments are conducted to verify the security,reliability,and connectivity of the improved model. |