| According to the "2020 China Charitable Donation Report" released by the China Charity Federation,in 2020,my country received a total of 208.613 billion yuan in domestic charitable donations,an increase of 38.21% over 2019,accounting for 0.21%of the country’s total GDP.With the development of philanthropy,more and more people participate in philanthropy.At the same time,there have always been problems in the traditional charity system such as low level of informatization,unclear capital flow,lack of transparency and easy tampering of information.With the development of blockchain technology,its features such as decentralization,non-tampering,and traceability have attracted extensive attention from relevant scholars.Using blockchain technology to solve traditional charity problems has become a new direction for many scholars to study.This paper applies the blockchain to the charity system,designs and implements a trusted charity system based on the blockchain,ensures the security of donation information and fundraising information,and improves the credibility of the charity system.The main work of this paper is as follows:1.By reading relevant literature,familiarize yourself with key technologies such as the underlying data structure,smart contracts and consensus algorithms of the blockchain,and understand its operating principles.And learn cryptography related knowledge,including hash algorithm,symmetric encryption and asymmetric encryption and other mainstream encryption algorithms.At the same time,a Fabric development platform was built to pave the way for the later system implementation.2.Aiming at the user privacy problem in the traditional charity system,this paper proposes a privacy protection technology based on access rights and hybrid encryption.Combine traditional access rights methods with smart contracts,where user access policies are set.Enables more flexible access.At the same time,the private data is encrypted,the data security is improved by improving the AES algorithm,and the performance of the improved algorithm is tested.The results show that the improved algorithm performs more efficiently when the energy consumption gap is negligible.3.For the functions of the charity system,design and implement a blockchainbased trusted charity system.By building the overall architecture of the system,each functional module is divided,and the design of data storage,smart contracts and application layers is expounded.Using Fabric as the blockchain platform,the functional development of the user module,fundraising module and donation module in the system is completed.And display part of the front page.Finally,after completing the function development,after the system function test and performance test,the system basically achieves the goal of system design. |