I am working on a method for licencing a software for distribution.
All the .exe distributed will have a public key. Public key will be same for all distributions, which will be used to encrypt licencing information and generate a licence file.
The distribution will be supplied with a private key(serial key) which will be used to run the software. Private key will be different for all distributions.
can anyone suggest any algorithm to which can encrypt with a single public key and decrypt with different private key.
Here is the link which i found similar to this topic but cant figure out how to implement.