# ecsol

> Solidity Elliptic Curve Library

Latest version **0.0.5** (published 2016-09-15) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install ecsol
pnpm add ecsol
yarn add ecsol
bun add ecsol
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2016-09-15 |
| First published | 2016-09-08 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jordi Baylina |
| Maintainers | jbaylina |
| Keywords | solidity, ec, cryptography, elliptic, curve |

## Links

- npm: https://www.npmjs.com/package/ecsol
- npm.io page: https://npm.io/package/ecsol

## Dependencies (1)

- [ethconnector](https://npm.io/package/ethconnector.md) 0.0.5

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2016-09-15
- 0.0.3 — 2016-09-09
- 0.0.2 — 2016-09-08
- 0.0.1 — 2016-09-08

## README

# 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)

---
_Source: https://npm.io/package/ecsol · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
