1 reply
3 recasts
5 reactions
1 reply
0 recast
0 reaction
1 reply
0 recast
0 reaction
4/6
On-chain Encryption is hard
Not everything can go on-chain(yet). Since data isn't encrypted on-chain, storing private information like secret keys is tricky. I get to experience this first hand while building Miracam. Private pictures need to be encrypted before storing them on-chain, where encryption often happed off-chain solutions. An off-chain key introduces more problems, and ideally, I'd like to access all pictures once I connect my wallet with the right privileges.
For Miracam, we're using Lit's MPC to store the encryption key, which only decrypts when the authorized wallet connects. While this works, I'm hopeful that one day we'll be able to store keys directly on-chain—perhaps using fully homomorphic encryption in smart contracts, where an AES 256-byte key can be stored securely.
Once that’s a reality, we might stop seeing “decentralized twitter” taking headlines, and see “decentralized facebook”. 2 replies
0 recast
0 reaction