Basic Cryptography Question about Cryptograpic Methodes
843810Dec 12 2002 — edited Dec 29 2002Hi
I have some text data that i need to encrypt and save to a file (kind of a licence file). Than that file is distributed with the software. Upon runtime the software should be able to read in that crypted data file and decrypt it so it can read the information for use.
I know how this is done using DES for example. But with DES i have to distribute the DES Key with the software, so everbody could use that key to create new encrypted data files.
What i'm looking for is something like a key i can use to encrypt the data and another key that can only be used to decrypt the data but not for encrypting it, so i can destribute that key with the software with out the danger that anybody can use that key to create new data (licence) files.
Is there a cryptography mehtode to do this? If yes, is that methode available in JCE?
I'm a newbie to crypthography, i just read little about the basic concepts, so i'm very thankful about your help.