Skip to content

Curve alt_bn_128 #154

@darioAnongba

Description

@darioAnongba

Hi,

I am currently heavily involved in Ethereum development and am currently implementing a Confidential Transactions token. The curve used for this is alt_bn_128 and not secp256k1 like in Bitcoin. The curve alt_bn_128 is similar to secp256k1 but wiht parameters:

  • A = 0
  • B = 3
  • P = 0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47
  • N = 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001

I was wondering if defining a new curve similar to secp256k1 with those parameters would "work out of the box" or if it's not that trivial. If not, what should I do to add support for this curve?

Also, I couldn't find documentation anywhere on how to use this library and its API (list of functions, etc) Does it exist?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions