Computing SquareRoot of emulated.Element #618
Replies: 1 comment 4 replies
-
|
We never bothered implementing square root in emulated arithmetic. It is kind of low-hanging fruit but as we didn't have a particular need then always postponed. If you want then you can try proposing it as a PR. It could be done similarly as I can also try doing this today if I have time but no promises! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to implement a
hashToCurvefunction for emulated BN254 field. and I am not able to figure out how to compute square root of an emulated element which is needed toderiveYusing the curve equationy^2 = x^3 + 3.Here is an implmentation which is working for me using gnark-crypto
Similarly my
deriveYfunction in gnarkAny help is much appreciated, thank you!
Beta Was this translation helpful? Give feedback.
All reactions