Content pfp
Content
@
0 reply
0 recast
2 reactions

​woj pfp
​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
5 reactions

Tim Becker | ChainLight pfp
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 pfp
​woj
@woj.eth
thanks! any good js or python implementations?
1 reply
0 recast
0 reaction

Tim Becker | ChainLight pfp
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

​woj pfp
​woj
@woj.eth
oh yeah we are def ok with stuff that doesn't scale im just looking for a good js lib to implement the encryption, haven't done it before
1 reply
0 recast
0 reaction

Tim Becker | ChainLight pfp
Tim Becker | ChainLight
@tjbecker.eth
I can have a look around later today, but any standard encryption library based on ethereum public keys should work. You should just need to combine it with a fid -> public key lookup
0 reply
0 recast
0 reaction