hyperledger / besu-native

Apache License 2.0
12 stars 35 forks source link

Add support for MiMC on BLS12-377's scalar field #132

Closed AlexandreBelling closed 8 months ago

AlexandreBelling commented 8 months ago

Description

The current PR adds supports for the MiMC hash function, but on the BLS12-377 scalar's field (not to be confused with BLS12-381). The implementation is - as for its BN254 counterpart - imported from gnark's. The PR keeps support for the BN254's implementation which is used by Shomei as of now. The implementation

In more details: