Skip to content

avras/mimc-halo2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiMC in Halo2

An implementation of the MiMC block cipher and hash function circuits in Halo2. Reference implementations in Sage can be found at https://github.com/avras/pasta-mimc.

  • The spec directory has a specification document.
  • src/mimc has MiMC the block cipher and hash function circuits
  • src/mimc_feistel has MiMC Feistel block and hash function circuits

Run cargo test --all-features to generate PNG files showing the chip layouts.

This code was written as part of 0xPARC's Halo2 Learning Group.

About

MiMC implementation in Halo2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published