ecsol

0.0.5 • Public • Published

ecsol

This implementation of ellipctic curve secp256k in solidity.

How to use.

The contract mainly has two methods:

function publicKey(uint256 privKey) constant
    returns(uint256 qx, uint256 qy)

and

function deriveKey(uint256 privKey, uint256 pubX, uint256 pubY) constant
    returns(uint256 qx, uint256 qy)

Package Sidebar

Install

npm i ecsol

Weekly Downloads

1

Version

0.0.5

License

GPL-3.0

Last publish

Collaborators

  • jbaylina