I'm building a service where one can publish a crypted file on the internet which can be accessed and decrypted by people allowed. I don't want to store any crypted key on a server or something.
For the moment, I have the owner of the file who initializes a key on the blockchain, and the addresses in a list can access this key after a good require
statement. But then I realized that when the owner initializes his key, it's being seen over the input which is public.
Is there a known way to solve this issue ?