{"id":13736740,"url":"https://github.com/status-im/nim-bncurve","last_synced_at":"2026-06-30T18:30:16.487Z","repository":{"id":33866796,"uuid":"150566406","full_name":"status-im/nim-bncurve","owner":"status-im","description":"Nim Barreto-Naehrig pairing-friendly elliptic curve implementation","archived":false,"fork":false,"pushed_at":"2024-12-11T11:12:38.000Z","size":5385,"stargazers_count":5,"open_issues_count":2,"forks_count":4,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-02-22T17:43:32.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/status-im.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHEv2","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-27T10:00:35.000Z","updated_at":"2024-12-11T11:12:40.000Z","dependencies_parsed_at":"2024-06-06T23:25:11.644Z","dependency_job_id":"942aff0a-613e-4096-9bfa-7950a8747f20","html_url":"https://github.com/status-im/nim-bncurve","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/status-im%2Fnim-bncurve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/status-im%2Fnim-bncurve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/status-im%2Fnim-bncurve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/status-im%2Fnim-bncurve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/status-im","download_url":"https://codeload.github.com/status-im/nim-bncurve/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371761,"owners_count":19790888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T03:01:27.664Z","updated_at":"2026-06-30T18:30:14.436Z","avatar_url":"https://github.com/status-im.png","language":"Nim","funding_links":[],"categories":["Algorithms"],"sub_categories":["Cryptography"],"readme":"## BNCurve\n[![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n![Stability: experimental](https://img.shields.io/badge/stability-experimental-orange.svg)\n![Github action](https://github.com/status-im/nim-bncurve/workflows/CI/badge.svg)\n\n## Introduction\nThis pure Nim implementation of Barreto-Naehrig pairing-friendly elliptic curve.\n\nThis is a [pairing cryptography](https://en.wikipedia.org/wiki/Pairing-based_cryptography) library written in pure Nim. It makes use of the Barreto-Naehrig (BN) curve construction from [[BCTV2015]](https://eprint.iacr.org/2013/879.pdf) to provide two cyclic groups **G\u003csub\u003e1\u003c/sub\u003e** and **G\u003csub\u003e2\u003c/sub\u003e**, with an efficient bilinear pairing:\n\n*e: G\u003csub\u003e1\u003c/sub\u003e × G\u003csub\u003e2\u003c/sub\u003e → G\u003csub\u003eT\u003c/sub\u003e*\n\nThis code is adaptation of [bn](https://github.com/zcash-hackworks/bn) library.\n\n## Security warnings\n\nThis library, like other pairing cryptography libraries implementing this construction, is not resistant to side-channel attacks.\n\n## Installation\n\nAdd to your `.nimble` file:\n```\nrequires \"https://github.com/status-im/nim-bncurve\"\n```\n\nor install it via\n```\nnimble install https://github.com/status-im/nim-bncurve\n```\n\n## Build and test\n\n```\nnimble install https://github.com/status-im/nim-bncurve\nnimble test\n```\n\n## License\n\nLicensed and distributed under either of\n\n* MIT license: [LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT\n\nor\n\n* Apache License, Version 2.0, ([LICENSE-APACHEv2](LICENSE-APACHEv2) or http://www.apache.org/licenses/LICENSE-2.0)\n\nat your option. This file may not be copied, modified, or distributed except according to those terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatus-im%2Fnim-bncurve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatus-im%2Fnim-bncurve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatus-im%2Fnim-bncurve/lists"}