With rapid development of IT,the personnel management business of public institutions has basically turned to online.and the efficiency of doing business online has been improved.However,there are security risks in traditional personnel management systems,such as poor disaster tolerance of centralized storage,easy tampering of data,and easy disclosing privacy of plaintext storage data.The decentralized,distributed ledger and tamper resistant features of blockchain can ensure the security and reliability of personnel data management in public institutions.This article uses blockchain technology,IPFS and improved AES encryption algorithm to complete the research and design of the personnel management system.The main research works of this thesis are as follows:(1)Optimize AES data encryption storage algorithm.the cycle indexes of round function execution in standard AES algorithm have been reduced from 10 to 7.Secondly,the generation process of temporary words during the secret key extension of the standard AES algorithm has been improved,namely,the expanded structure of secret key has been changed into pipe-lined structure,which was divided into two modules executing simultaneously to reduce the time for the expansion of secret key.Experiments show that the optimized AES algorithm reduces the average execution time by about 25% while ensuring that the security performance index of the algorithm is similar to that of the standard AES algorithm.(2)Design encrypted data storage scheme based on Blockchain+IPFS.The scheme uses the combination of the chain on the chain under the way,and the optimized AES algorithm is used to encrypt personnel data files and store them in IPFS,and then the hash index value returned from IPFS is stored in the local database.This scheme also encrypts the returned hash indexing values of the cipertext with the symmetric secret key through the public key,and then uploading them together with hash indexing values of the plaintext to the blockchain by smart contract.Finally,data is shared by the point-to-point data transmission mode so that the data can be stored and transmitted in safety.(3)Devising and realizing a public institution personnel management system based on blockchain.Combined with the design of encrypted data storage scheme based on blockchain +IPFS,it uses Heperledger Fabric as the underlying framework to construct a blockchain network and the Fabric modular components to exchange data with the blockchain.And it also uses IPFS as distributed data file repository to store the cipertext of data.As a result,the public institution personnel management system based on the blockchain is realized.Compared with other schemes of the same type,the research scheme in this paper shows advantages in data encryption storage,transmission,recovery,introduction of smart contracts,which can better protect the security of data in personnel management. |