I have an hybrid encryption (RSA, AES) for a file sharing project I am working on, where I use a single public key for encryption on the sender side and corresponding private key for decryption on the recipient side. I would like for a sender to be able to send files to multiple users each having only their own unique key pair (public keys would be distributed).
I know this is possible using GPG
gpg --encrypt --recipient [email protected] --recipient [email protected] doc.txt
How to do this using RSA or ECC? Is it possible?