There are some cryptographically secure hash algorithms designed to be efficient for SNARKs, STARKs and FHE. Some of them already implemented in Zcash, Zokrates and circom. The ones that I know of are:

Is there any security and performance comparison available for these hash algorithms? (There have been attacks published on some other hash functions designed for SNARKs. But, I didn't manage to find a proper comparison for these ones.)



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.