Skip to main content
Version: v3.x.x

Introduction to Encryption/Decryption

info

Habanero Mainnet and Manzano Testnet are now live. Check out the docs on migration to learn how you can start building on Habanero and Manzano today.

Overview

You can use Lit for decentralized encryption with your storage provider of choice. With Lit, you can encrypt content client-side and define access control conditions (ACCs) to provision access rights to users who meet the conditions you set.

Lit supports the use of both on and off-chain data when defining ACCs, examples including locking content behind:

Features

  1. Access Control Conditions can be defined using state from most EVM chains, Cosmos, and Solana.. View the full list here.
  2. AND + OR operators (boolean logic) can be used to combine any of the supported conditions listed above.
  3. Storage provider of choice: use your preferred storage solution, including IPFS, Arweave, Ceramic, or even a centralized provider, like AWS.

Resources

Learn how you can integrate decentralized access control with Lit into your own product:

  1. Quick Start Guide
  2. Storing Private Data on ComposeDB
  3. Encrypting Data on Arweave Using Lit and Irys
  4. Basic EVM Conditions
  5. Access Control Using Off-Chain Inputs

Examples and Use Cases

  1. Private data for web3 social
  2. Token-gated video streaming
  3. Encrypted token metadata
  4. Persistent and private data marketplaces
  5. Decentralized content discovery