collaborative-zksnark icon indicating copy to clipboard operation
collaborative-zksnark copied to clipboard

Implement of PrimeField and SquareRootField for MpcField

Open hyemmie opened this issue 2 years ago • 0 comments

It seems that PrimeField and SquareRootField trait isn't implemented for MpcField. (https://github.com/alex-ozdemir/collaborative-zksnark/blob/main/mpc-algebra/src/wire/field.rs#L516)

I'm trying to use MpcField for implementing elgamal encryption on mpc-snarks (especially trying to refactor EdwardParameter to use MpcField as BaseField and ScalarField) , so I wonder why it wasn't implemented and the expected level of difficulty for implementing.

hyemmie avatar Dec 14 '22 03:12 hyemmie