crypto-garbled-circuits

Implement Yao's protocol and oblivious transfer for secure multi-party computation.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/kunallimaye/lib-agents --skill crypto-garbled-circuits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crypto-garbled-circuits
Source: https://github.com/kunallimaye/lib-agents/tree/main/skills/crypto-garbled-circuits
Command: npx skills add https://github.com/kunallimaye/lib-agents --skill crypto-garbled-circuits

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables secure computation on private data using advanced cryptographic techniques like garbled circuits and multi-party computation, ensuring data privacy even during computation.

Core Features & Use Cases

  • Garbled Circuit Implementation: Guides the implementation of Yao's protocol for secure two-party computation.
  • Oblivious Transfer: Explains and supports Oblivious Transfer (OT) protocols and their extensions for secure private information retrieval.
  • Optimization Techniques: Details methods like free-XOR and half-gates to improve the efficiency of garbled circuits.
  • Multi-Party Computation (MPC): Covers extensions for secure computation among more than two parties.
  • Use Case: Securely compare sensitive datasets between two parties without revealing the data itself, or collaboratively train a machine learning model on private data.

Quick Start

Use the crypto-garbled-circuits skill to understand the protocol flow for Yao's garbled circuits.

Frequently Asked Questions about crypto-garbled-circuits

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Yao's garbled circuits for secure two-party computation?

Oblivious Transfer (OT) protocols allow one party to securely retrieve information from another without revealing what was selected. This Skill explains OT protocols and their extensions for private information retrieval within garbled circuits.

How can I optimize garbled circuits to reduce computation overhead?

Optimization techniques like free-XOR and half-gates significantly improve garbled circuit efficiency by reducing cryptographic operations. This Skill details these methods to help you optimize secure multi-party computation workflows.

Can I securely compare sensitive datasets between two parties without exposing the raw data?

Secure dataset comparison without exposing raw data is a primary use case for garbled circuits. This Skill supports scenarios where two parties securely compute functions on sensitive datasets while preserving absolute data privacy.

Do I need prior knowledge of cryptographic primitives to use garbled circuits for multi-party computation?

Understanding cryptographic primitives and circuit design is required to implement secure multi-party computation effectively. This Skill addresses advanced concepts like Yao's protocol and oblivious transfer extensions for complex MPC scenarios.