zero-chain icon indicating copy to clipboard operation
zero-chain copied to clipboard

To be compatible with the ethereum smart contracts

Open osuketh opened this issue 6 years ago • 2 comments

osuketh avatar Feb 24 '19 15:02 osuketh

Needed to be used alt-bn 256 curve for bellman and elgamal encryption, not jubjub curve. babyjubjub(compatible with alt-bn 256):

  • https://github.com/matter-labs/sapling-crypto
  • https://github.com/matter-labs/bellman
  • https://github.com/matter-labs/pairing
  • https://github.com/matter-labs/ff

osuketh avatar Mar 29 '19 07:03 osuketh

The specification of BN254 curve: https://tools.ietf.org/id/draft-kasamatsu-bncurves-01.html

osuketh avatar Mar 29 '19 09:03 osuketh