Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Parameterize JubJub Python implementation, add parameters for a=-1 (equivalent to matter-inc curve) #113

Open
HarryR opened this issue Feb 13, 2019 · 2 comments

Comments

@HarryR
Copy link
Owner

HarryR commented Feb 13, 2019

No description provided.

@barryWhiteHat
Copy link

barryWhiteHat commented Feb 13, 2019

I also have to review the changes made by the matter team and make PR to https://github.com/barryWhiteHat/baby_jubjub

Do you have a reference for that?

@HarryR
Copy link
Owner Author

HarryR commented Feb 14, 2019

From: https://github.com/matterinc/sapling-crypto/blob/master/src/alt_babyjubjub/mod.rs#L5

  • scaling = 1911982854305225074381251344103329931637610209014896889891168275855466657090
  • a' = 21888242871839275222246405745257275088548364400416034343698204186575808495616 == -1 = a*scale^2 mod P
  • d' = 12181644023421730124874158521699555681764249180949974110617291017600649128846 == -(168696/168700) = d*scale^2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants