I'm making a simple licensing system for my apps.
I don't know about cryptography, but I know that I need a algorithm that consists of 2 keys: private and public.
I need to encrypt some data (expiration date and customer email) using my private key, and then my app will decrypt the data using the public key to compare expiration date.
Is there a known algorithm that does what I need?
EDIT:Problem solved. Helper class to use dsa avaliable Here