https://github.com/tekkac/cairo-alt_bn128
bn254 pairing library for Cairo Zero
https://github.com/tekkac/cairo-alt_bn128
bn254 cairo-lang elliptic-curve-cryptography pairing-cryptography starknet
Last synced: about 1 month ago
JSON representation
bn254 pairing library for Cairo Zero
- Host: GitHub
- URL: https://github.com/tekkac/cairo-alt_bn128
- Owner: tekkac
- Created: 2022-02-02T09:59:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-15T15:49:55.000Z (over 2 years ago)
- Last Synced: 2025-03-27T18:49:56.316Z (about 2 months ago)
- Topics: bn254, cairo-lang, elliptic-curve-cryptography, pairing-cryptography, starknet
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 26
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cairo implementation of alt_bn128
## What is alt_bn128?
alt_bn128 is a pairing-friendly elliptic curve that can be used to verify computations done by snarks.We implement the pairing function based on the code from [this repository.](https://github.com/ethereum/py_pairing/)
## How to run?
Make sure you are inside a Cairo virtual environment
```
make
```## TODO
Hint verifications for pairing-related functions on FQ12