{"id":23572894,"url":"https://github.com/Jamie-Cui/yacl-r","last_synced_at":"2025-08-29T19:31:13.455Z","repository":{"id":264170030,"uuid":"888485994","full_name":"Jamie-Cui/yacl-r","owner":"Jamie-Cui","description":"yacl-r: Yet Another Cryptographic Library for Research","archived":false,"fork":false,"pushed_at":"2025-08-26T14:43:16.000Z","size":6408,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T19:37:14.159Z","etag":null,"topics":["cryptography","dpf","gc","gm","he","lattice","mpc","ot","pprf","reserach","vole"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Jamie-Cui.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-11-14T13:35:48.000Z","updated_at":"2025-08-26T14:43:18.000Z","dependencies_parsed_at":"2025-01-15T15:27:47.640Z","dependency_job_id":"65f44870-cdd9-4369-ba4e-bd8cc1d9cd6f","html_url":"https://github.com/Jamie-Cui/yacl-r","commit_stats":null,"previous_names":["jamie-cui/yacl-r"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jamie-Cui/yacl-r","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jamie-Cui%2Fyacl-r","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jamie-Cui%2Fyacl-r/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jamie-Cui%2Fyacl-r/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jamie-Cui%2Fyacl-r/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jamie-Cui","download_url":"https://codeload.github.com/Jamie-Cui/yacl-r/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jamie-Cui%2Fyacl-r/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272749266,"owners_count":24986867,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","dpf","gc","gm","he","lattice","mpc","ot","pprf","reserach","vole"],"created_at":"2024-12-26T21:00:32.116Z","updated_at":"2025-08-29T19:31:13.433Z","avatar_url":"https://github.com/Jamie-Cui.png","language":"C++","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Yet Another Cryptographic Library for Research\n\n![CircleCI](https://dl.circleci.com/status-badge/img/gh/Jamie-Cui/yacl-r/tree/main.svg?style=svg)\n\n```\n██╗   ██╗ █████╗  ██████╗██╗           ██████╗ \n╚██╗ ██╔╝██╔══██╗██╔════╝██║           ██╔══██╗\n ╚████╔╝ ███████║██║     ██║     █████╗██████╔╝\n  ╚██╔╝  ██╔══██║██║     ██║     ╚════╝██╔══██╗\n   ██║   ██║  ██║╚██████╗███████╗      ██║  ██║\n   ╚═╝   ╚═╝  ╚═╝ ╚═════╝╚══════╝      ╚═╝  ╚═╝\n```\n\nYacl-r is a fork and extension of the C++ crypto library [secretflow/yacl](https://github.com/secretflow/yacl). The crypto modules in Yacl implement many state-of-art secure computation protocols, including primitives like OT, VOLE, TPRE, and tools like PRG, RO. Check the full list of Yacl's supported algorithms in [ALGORITHMS.md](ALGORITHMS.md).\n\n\u003e [!WARNING]\n\u003e Yacl-r is under heavy development, please use at your own risk\n\nTarget Platforms (hopefully): MacOS Apple Silicon, Linux x86_64 and Linux aarch64.\n\n## Repo Layout\n\n- [base](yacl/base/): some basic types and utils in yacl.\n- [crypto](yacl/crypto/): **crypto algorithms** without [link](yacl/link/).\n- [engine](yacl/engine/): **interactive engines** that is desgined for a purpose.\n- [io](yacl/io/): a simple streaming-based io library.\n- [kernel](yacl/kernel/): **crypto kernel** that includes [link](yacl/link/) with (WIP) multi-thread support, i.e. OT, DPF.\n- [link](yacl/link/): a simple rpc-based MPI framework, providing the [SPMD](https://en.wikipedia.org/wiki/SPMD) parallel programming capability.\n- [math](yacl/math/): a simplified math lib (or interface), supporting big integer.\n- [utils](yacl/utils/): other good-to-have utilities\n\n## Prerequisites\n\n- **gcc \u003e= 10.3**\n- **[ninja/ninja-build](https://ninja-build.org/)**\n- **Perl 5 with core modules** (Required by [OpenSSL](https://github.com/openssl/openssl/blob/master/INSTALL.md#prerequisites))\n- **gflags** (Required by brpc)\n- **protobuf**\n\n## Getting Started\n\nYacl-r tries to support both [cmake](https://cmake.org/) and [bazel](https://bazel.build/) build system. For more guidelines about **how to develop on yacl**, please check the [Getting Started Guide](GETTING_STARTED.md).\n\n**Ubuntu with CMake**\n\n``` sh\n# install dependencies\nsudo apt install -y git cmake gcc-11 g++-11\n\n# optional, make gcc-11 g++-11 system default\nsudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 10\nsudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 10\n\n# download yacl-r\ngit clone https://github.com/Jamie-Cui/yacl-r.git\n\n# enter the project\ncd yacl-r\n\n# configure \ncmake -S . -B build\n\n# build (this may take a while)\ncmake --build build\n```\n\n## License\n\nSee [LICENSE](LICENSE) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJamie-Cui%2Fyacl-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJamie-Cui%2Fyacl-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJamie-Cui%2Fyacl-r/lists"}