zkcrypto / bellman

zk-SNARK library.
Other
1.02k stars 542 forks source link

BLAKE2b support #37

Open SRCoughlin opened 4 years ago

SRCoughlin commented 4 years ago

With Ethereum now supporting BLAKE2b on-chain explicitly to support the ZCash POW algorithm, there is now an opportunity to use this same operation inside Dapps that parallel SNARK circuits. This allows for newer proving schemes such as commit-and-prove, recursive-, and composable-SNARKs to operate selectively on- or off-chain. The BLAKE2s hash function is currently supported in gadget and function form but the similar BLAKE2b hash function is not. Would the new gadget and functions be useful?