{"id":20880242,"url":"https://github.com/betarixm/cuecc","last_synced_at":"2025-05-12T16:32:10.044Z","repository":{"id":211260179,"uuid":"728645001","full_name":"betarixm/cuECC","owner":"betarixm","description":"POSTECH: Heterogeneous Parallel Computing (Fall 2023)","archived":false,"fork":false,"pushed_at":"2023-12-09T13:25:10.000Z","size":478,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-01-26T03:40:25.577Z","etag":null,"topics":["cryptography","ctypes","cuda","ecc","postech","secp256k1"],"latest_commit_sha":null,"homepage":"","language":"Cuda","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/betarixm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-07T11:40:27.000Z","updated_at":"2023-12-08T18:59:40.000Z","dependencies_parsed_at":"2023-12-14T23:11:33.428Z","dependency_job_id":null,"html_url":"https://github.com/betarixm/cuECC","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"c236a2ea187162ce54a06bbee81ea80e8ad6be17"},"previous_names":["betarixm/cuecc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betarixm%2FcuECC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betarixm%2FcuECC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betarixm%2FcuECC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betarixm%2FcuECC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betarixm","download_url":"https://codeload.github.com/betarixm/cuECC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225142591,"owners_count":17427476,"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":["cryptography","ctypes","cuda","ecc","postech","secp256k1"],"created_at":"2024-11-18T07:19:35.942Z","updated_at":"2024-11-18T07:19:36.430Z","avatar_url":"https://github.com/betarixm.png","language":"Cuda","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cuECC: CUDA-accelerated Elliptic Curve Cryptography Library\n\n[![CSED490C@POSTECH](https://img.shields.io/badge/CSED490C-POSTECH-c80150)](https://www.postech.ac.kr/eng)\n[![CSED490C@POSTECH](https://img.shields.io/badge/Fall-2023-775E64)](https://www.postech.ac.kr/eng)\n\n**cuECC** is a CUDA-accelerated Elliptic Curve Cryptography library designed for secp256k1. The primary goal of this library is to enhance the throughput of ECC by utilizing the parallelism of GPU. This library includes not only the basic operations of ECC but also 256-bit unsigned integer arithmetic operations, operations over finite fields, and curves.\n\nIt can be easily integrated into other Python projects using the included Python bindings and is zero-dependency.\n\n## Features\n\n- 256-bit unsigned integer arithmetic operations\n- Finite field arithmetic operations\n- Elliptic curve point operations\n- Parallel public key generation\n- Python bindings\n\n## Usage\n\nTo use cuECC, follow these steps:\n\n1. Clone this repository.\n1. Navigate to the cloned directory.\n1. Run `make all` to build the library.\n1. Use the built `libcuecc.so` in your code.\n\nTo use cuECC in Python, follow these steps:\n\n1. Build the library as described above.\n1. Import the `Ecc` class from [`ecc.py`](src/bindings/ecc.py).\n1. Initialize the class with the path to the built library, e.g., `ecc = Ecc('./libcuecc.so')`\n\n## Benchmarks\n\nTo compare the performance of cuECC with a pure-python implementation, follow these steps:\n\n1. Clone this repository.\n1. Navigate to the cloned directory.\n1. Run `make all` to build the library.\n1. Run `poetry install` to install the dependencies.\n1. Run `poetry run benchmark-public-key` to benchmark the public key generation process.\n\nNote that the Python implementation is from [`cryptography-python`](https://github.com/mohanson/cryptography-python/blob/master/secp256k1.py).\n\n## Disclaimer\n\nNote that this library is not intended for production use. It is unoptimized and may be insecure. It is provided solely for educational purposes, specifically for the CSED490C course at POSTECH. Any usage is at your own risk, and the contributors are not responsible for any potential issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetarixm%2Fcuecc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbetarixm%2Fcuecc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetarixm%2Fcuecc/lists"}