Swanky Documentation
Last updated
Last updated
Swanky is Galois’s open source suite of Rust libraries for secure computation. This all-in-one toolkit contains cryptographic components that academic, industry, or government users may need for a wide array of privacy-preserving tasks. Whether you are building a protocol using garbled circuits, experimenting with zero-knowledge proofs, or looking to use private set intersection to protect sensitive data, Swanky provides necessary primitives, eliminating the need to build everything from scratch.
All-in-One Toolkit: Combines existing Galois diverse Zero Trust Computing technologies into one convenient package including zero knowledge (ZK) proof systems; garbled circuits; Oblivious Transfer (OT) and vector oblivious linear evaluation (VOLE), private set intersection (PSI); and core primitives, including finite fields, efficient random number generators, cross-platform SIMD support, and more.
Professional Standards: Existing frameworks are often academic in nature and not practical for adoption. Swanky aims to change the status quo by focusing on software quality assurance, usability, and secure hygiene. Our ultimate goal is a codebase where all cryptographic primitives are developed to professional software engineering standards, offering well-documented and consistent interfaces.
Rust Benefits: Swanky is written in Rust, which allows for benefits like memory safety and static analysis. Written correctly, Rust programs completely eliminate classes of vulnerability common in many programs written in languages like C or C++. With Rust, Swanky has a framework that is supportable, maintainable, and usable by both researchers and industry professionals.
Swanky is an open source project, hosted on GitHub, licensed under an MIT license.
The R&D community, industry, and the public at large benefit when tools like Swanky are open sourced. In addition, open-source tools themselves benefit from and be independently verified by a broad, diverse user community. With this in mind, Galois has developed Swanky as an open source resource from the very beginning and kept it open for anyone to use and explore.
While Swanky is open source and freely available, it’s important to note that it is complex enough that it requires expert knowledge to use to its full potential. Researchers and academics are, of course, welcome to experiment with this open source collection of libraries. However, businesses with secure computation needs but without expertise in secure multi-party techniques may benefit from working with us for ongoing support or to develop custom applications tailored to their needs.
Importantly, Swanky is not a one-off build. Galois is actively adding new capabilities, and will continue to provide updates and support well into the future, along with roadmaps of upcoming capabilities.
To learn more about how Swanky could serve your business needs or research goals, feel free to contact us at swanky@galois.com.