Content
@
0 reply
0 recast
2 reactions
βwoj
@woj.eth
what would be the best way to encrypt a cast, so that only a set of selected fids can decrypt it? (ofc not in warpcast, warpcast would only see gibberish)
6 replies
0 recast
4 reactions
Tim Becker | ChainLight
@tjbecker.eth
Sounds like Broadcast Encryption https://crypto.stanford.edu/~dabo/pubs/papers/broadcast.pdf
1 reply
0 recast
0 reaction
βwoj
@woj.eth
thanks! any good js or python implementations?
1 reply
0 recast
0 reaction
Tim Becker | ChainLight
@tjbecker.eth
Hmm I'm not seeing any π. Btw, if the recipient sets are small, you could always just encrypt the message for each recipient and broadcast the ciphertexts. The benefit of the above system is that ciphertext size is independent of the # of recipients.
2 replies
0 recast
0 reaction
Tim Becker | ChainLight
@tjbecker.eth
But, it requires a setup that generates keys for each user, which is impractical for a decentralized use case. It feels like you may be able to solve this with MPC, or directly with a new broadcast encryption scheme: https://eprint.iacr.org/2023/874.pdf This takes you deep down the cryptography rabbit hole though π
0 reply
0 recast
0 reaction