In order to verify that the prover has indeed signed a specific message, we need to add a "hash check" in the verification function.
This is just hashing the address commitment point with a PointHasher. It is important to check that the PointHasher uses the same Keccak hasher as Metamask, so this should be checked first.
Description
In order to verify that the prover has indeed signed a specific message, we need to add a "hash check" in the verification function.
This is just hashing the address commitment point with a
PointHasher
. It is important to check that thePointHasher
uses the same Keccak hasher as Metamask, so this should be checked first.