Nim Barreto-Naehrig pairing-friendly elliptic curve implementation
Go to file
Ștefan Talpalaru 1e0af48411
Nimble considers URL deps different from name deps
and it installs the same package again, at a version tag, even though
@#head was already available, then it errors out: 68bb97f30a/src/nimble.nim (L198)
- added a .gitignore for the "tests" dir
2018-12-25 13:39:38 +01:00
bncurve Added Ethereum specific serialization procedures. 2018-10-16 11:30:14 +03:00
tests Added Ethereum specific serialization procedures. 2018-10-16 11:30:14 +03:00
.appveyor.yml Initial commit. 2018-09-27 13:35:59 +03:00
.gitignore Nimble considers URL deps different from name deps 2018-12-25 13:39:38 +01:00
.travis.yml Initial commit. 2018-09-27 13:35:59 +03:00
LICENSE-APACHEv2 Initial commit. 2018-09-27 13:35:59 +03:00
LICENSE-MIT Initial commit. 2018-09-27 13:35:59 +03:00
README.md README fix `bn` package link. 2018-10-04 13:21:29 +03:00
bncurve.nim Initial commit. 2018-09-27 13:35:59 +03:00
bncurve.nimble Nimble considers URL deps different from name deps 2018-12-25 13:39:38 +01:00

README.md

BNCurve

Build Status Build status License: Apache License: MIT Stability: experimental

Introduction

This pure Nim implementation of Barreto-Naehrig pairing-friendly elliptic curve.

This is a pairing cryptography library written in pure Nim. It makes use of the Barreto-Naehrig (BN) curve construction from [BCTV2015] to provide two cyclic groups G1 and G2, with an efficient bilinear pairing:

e: G1 × G2 → GT

This code is adaptation of bn library.

Security warnings

This library, like other pairing cryptography libraries implementing this construction, is not resistant to side-channel attacks.

Installation

Add to your .nimble file:

requires "https://github.com/status-im/nim-bncurve"

or install it via

nimble install https://github.com/status-im/nim-bncurve

Build and test

nimble install https://github.com/status-im/nim-bncurve
nimble test

License

Licensed and distributed under either of

at your option. This file may not be copied, modified, or distributed except according to those terms.