Skip to content

Latest commit

 

History

History

upload-encrypted-data

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

🔒 Upload Encrypted Data

IPFS is a public network imply files uploaded to the IPFS network can be viewed by anyone around the world. To secure your file over a public network user can encrypt the file. This section explains how to upload a file and text using encryption.

  1. Upload an encrypted file
  2. Upload Text/JSON with encryption

Kavach is the Encryption SDK created by the Lighthouse team that allows you to build your trustless, decentralized, and fault-tolerant Applications using distributed key shards with threshold cryptography.

{% hint style="success" %} Lighthouse SDK already uses the Kavach Encryption SDK underneath, so developers can directly refer to encryption and access control code examples to store private data on IPFS and build token-gated applications. {% endhint %}

Features

  • Randomized key shard generation
  • Shard Key support for privateKey and other security keys
  • Key Reconstruction from shards
  • Fully typed, support in TypeScript
  • Stores shards on Lighthouse Encryption Key storage(Optional 5 nodes)

GitHub

https://github.com/lighthouse-web3/encryption-sdk