Say I have a hash of a file which is stored on IPFS.I want to encrypt the hash with public keys of few people.
How can I do the encryption of the hash (encrypted hash should be stored on smart contract) using react web application.
And can others decrypt the encrypted hash ,to get the actual IPFS document ,using their private key (Asking a user to enter their private key in a web app can be a bad practice) ,can we do this using decryption using Metamask or any?