| With the advent of cryptocurrency,Bitcoin has become a hot topic.Blockchain,the core technology behind Bitcoin,has gradually been valued by experts and scholars.The application research on blockchain emerges endlessly from the financial field include payment,crossborder remittance,asset digitation,exchange,clearing and settlement,credit.For non-Financial services applications,existential verification,authentication,asset verification,asset trading and so on.The need for blockchain based identity authentication is particularly salient in the internet age.While there exist somewhat imperfect systems for establishing personal identity in the physical world,in the form of Social Security numbers,state liquor identification cards,drivers' licenses,and even passports or national identity cards,there is no equivalent system for securing either online authentication of our personal identities or the identity of digital entities.Fac ebook accounts,now often used as login for different digital applications,and media access control(MAC)addresses,may come close,yet both can hardly function as trustworthy forms of identification when they can be changed at will.According to the above background,this thesis will use the hyperledger Fabric as the technical framework of the blockchain and design and implement a blockchain-based identity authentication system.Providing user registration,user login,identity information modification,authorized login,information authorization,experience information authentication,block information query,and other functions.The main work of this thesis is as follows:(1)The concept of block storage,Merkle tree,consensus,smart contract in the blockchain is studied.Analyzing tpossibility of combining the advantages of blockchain technology with identity information management.The blockchain mechanism can be used for non-tampering and traceability.The feature saves the user identity information in the blockchain,ensuring the security of the information.The smart contract is used to implement the system function to modify blockchain ledger,so that the system logic is safe and reliable,and the possibility of change is eliminated.By considering the application background we choose the Hyperledger Fabric as the basis for implementing the blockchain technology.(2)The system function and system structure of blockchain-based identity authentication system are designed.By issuing a set of public and private keys to the user,the user's identity information is bound to the key,and the digital signature technology is used to verify whether the request is sent by the user,ensuring security.User information is stored in the blockchain and cannot be changed once it is written to the ledger.Using the chaincode of the Hyperledger Fabric to implement the smart contract to modify blockchain storage,the process is guaranteed to be reliable.The blockchain network was built by docker,and the system was successfully implemented.After testing the function and performance,the system can satisfy the designed requirements and the performance meets the actual performance requirements. |