taiga icon indicating copy to clipboard operation
taiga copied to clipboard

Improve the blake2s hash circuit

Open XuyangSong opened this issue 8 months ago • 0 comments

Now, we have a straightforward blake2s hash circuit implementation, which could be more efficient. A lookup table with 8 bits would help.

  • [ ] convert the range check to lookup
  • [ ] convert the xor, shift, and other operations to lookup, inspired by halo2 sha256 implementation.
  • [ ] other potential tricks to improve it, from Risc0 and Miden, perhaps

XuyangSong avatar Nov 06 '23 09:11 XuyangSong