Home

Awesome

YACL (Yet Another Common crypto Library)

CircleCI OpenSSF Scorecard

Yacl is a C++ library that contains common cryptgraphy, network and io modules which other SecretFlow code depends on. 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.

Supported platforms:

Linux x86_64Linux aarch64macOS x86_64macOS Apple SiliconWindows x86_64Windows WSL2 x86_64
yesyesyes<sup>1</sup>yesnoyes<sup>1</sup>
  1. Yacl has not been thoroughly tested on these platforms.

Repo Layout

Prerequisites

Getting Started

Yacl uses the bazel build system, you may use the following codes to build and test yacl modules. For more guidelines about how to develop on yacl, please check the Getting Started Guide.

License

See LICENSE and NOTICE.md