# MPC + FHE Wallets — Hanzo AI

> Keys that can&#x27;t be stolen. Rules that can&#x27;t be seen.

Next-Gen Key Infrastructure

# MPC + FHEWallets

Keys that can&#x27;t be stolen. Rules that can&#x27;t be seen.

Multi-Party Computation distributes trust. Fully Homomorphic Encryption keeps policies private. Together, they&#x27;re the future of digital asset security.

0

Single points of failure

M-of-N

Threshold schemes

<200ms

Signing latency

FHE

Encrypted rules

[Get Started](https://docs.hanzo.ai/docs/mpc)[Contact Sales](https://hanzo.ai/contact/sales)

## How MPC + FHE Works

Cryptographic security without compromising on speed or flexibility

### 1. Key Generation

Private key is generated as distributed shares. No single party ever holds the complete key.

### 2. Policy Encryption

Spending rules are encrypted with FHE. Policies can be evaluated without decryption.

### 3. Threshold Signing

Parties collaborate to sign. Transaction is broadcast only if policies pass.

## Enterprise-Grade Features

### Threshold Signatures

Split keys across multiple parties. No single point of failure, no single point of compromise.

### FHE-Powered Rules

Fully Homomorphic Encryption enables policy evaluation on encrypted data. Your rules stay private.

### Multi-Party Approval

Configure M-of-N approval schemes. Combine human approvers with automated policy checks.

### Hardware Security

Key shares can be held in an HSM — AWS KMS, Azure Key Vault, Google Cloud KMS, or a Zymbit module over PKCS#11.

### Geo-Distributed

Key shares distributed across regions. Survive datacenter failures, meet compliance requirements.

### Key Refresh

Proactive security share refreshing. Rotate shares without changing the public key.

### Sub-Second Signing

Optimized MPC protocols for low-latency signing. Fast enough for real-time applications.

### Policy Engine

Define spending limits, whitelists, time locks, and custom rules that execute in encrypted space.

## Use Cases

### Institutional key management

Enterprise-grade key management for funds, exchanges, and asset managers.

### DAO Treasury

Multi-sig alternatives that don&#x27;t leak governance decisions on-chain.

### Automated Agents

Let AI agents transact within encrypted policy boundaries.

### Compliance-First Wallets

Enforce AML/KYC rules at the cryptographic layer.

mpc-wallet.ts

```
import { HanzoMPC } from "@hanzo/blockchain"; // Create MPC wallet with 2-of-3 threshold const wallet = await HanzoMPC.createWallet({ threshold: 2, parties: 3, network: "ethereum", }); // Define FHE-encrypted spending policy await wallet.setPolicy({ maxDailySpend: "10 ETH", whitelistedAddresses: [...], requireApprovalAbove: "1 ETH", // Policy is encrypted - not visible on-chain encrypted: true, }); // Sign transaction with MPC const signature = await wallet.sign({ to: "0x...", value: "0.5 ETH", // Policy evaluation happens in encrypted space }); // Broadcast only if policy passes await wallet.broadcast(signature);
```

## Ready for Next-Gen Security?

MPC + FHE is the future of digital asset custody. Be among the first to adopt.

[Read the Docs](https://docs.hanzo.ai/docs/mpc)[Talk to an Expert](https://hanzo.ai/contact/sales)
