| In the era of information technology driving continuous updates in the medical field,the requirements for data privacy,security,and medical supervision have become increasingly high.However,with the rapid development of quantum technology,traditional encryption algorithms based on factorization of large integer prime factors,discrete logarithms,and bilinear pairings have become insecure.On the other hand,when medical disputes arise,patients often find it difficult to determine whether it is a problem with the prescription itself or with drug quality.Hospitals,in order to maintain their reputation,also prevent patients from verifying the prescription.And in past work,the vast majority of medical privacy and drug traceability have been severed,causing great inconvenience to patients during case tracing and drug traceability.Therefore,this article is committed to researching algorithms that integrate privacy protection and medical traceability.The main research content is as follows:(1)A lattice homomorphic encryption algorithm based on LWR is proposed,and its security and efficiency are analyzed.This algorithm uses an approximate feature vector method to generate public and private keys,and combines it with the rounding learning problem to eliminate the entanglement mode problem.The results show that the algorithm is correct and indistinguishable,and eliminates the noise sampling generated by the previous homomorphic encryption algorithm,so the loss of security is low.(2)A lattice homomorphic signature algorithm based on SIS was proposed,and security and efficiency analysis were conducted.This algorithm utilizes image pre sampling functions and is designed in the binary domain,resulting in higher security and efficiency.The results show that the algorithm is unforgivable for Class 1 and Class 2 adversaries in the random oracle model machine model.In addition,compared to previous homomorphic signatures,this signature algorithm has significant advantages in key length and computational cost.(3)Combining the above algorithms and utilizing the Fabric platform,a lattice based post quantum medicine privacy protection and traceability system has been designed and constructed for application on blockchain.By dividing drug traceability data and applying the above signature algorithm to verify the signature of patient case data.At the same time,the above encryption algorithm is used to encrypt and upload the private data of cases and drug suppliers to the blockchain network.Solved the problems of traditional medical traceability algorithms being unable to provide hierarchical protection for traceability data and being difficult to resist quantum attacks.(4)Conduct comprehensive functional and performance testing of the system.Experimental analysis shows that all functions of this article are consistent with the expected results,and the data transaction completion rate is above 99.9%,indicating that the blockchain network can operate stably.Therefore,the system can basically meet the application requirements of practical scenarios and has strong practicality. |