INFORMATION VERIFICATION METHOD AND APPARATUS
摘要:
The present invention relates to the technical field of computers, and discloses an information verification method and apparatus. A implementation of the method includes: constructing a constraint set of a zero-knowledge proof circuit, wherein the constraint set includes a range attribute verification condition; receiving a verifiable representation, using the verifiable representation as a secret input of the zero-knowledge proof circuit, and generating a personal information credential by means of the zero-knowledge proof circuit, wherein the verifiable representation is generated according to personal information to be verified; and in response to receiving decentralized identity information and a threshold value, which are sent by a verification system of a personal information credential, using the decentralized identity information and the threshold value as public inputs of the zero-knowledge proof circuit, and verifying, by the zero-knowledge proof circuit, whether the personal information credential satisfies the constraint set. By means of the implementation, sensitive information during user information verification can be protected while maintaining a decentralized identity system, thereby avoiding directly showing plaintext of real information of a user, and the verification efficiency is high.
信息查询
0/0