Robert, Thanks for the quick reply and I agree with what you said. I didn't explain myself well. Let's take a hypothetical case. Suppose I have an app where I want to keep track of how often and when the app is used: perhaps for licensing reasons, perhaps for management stats on the real-life demand for the software, or tracking regular use for training purposes - whatever ... this is hypothetical. There is no reason for users to log-in (and they don't want to anyway) and I'd rather the users don't have access to the stats I keep. So I decide to save a text file alongside the exe file and save short strings in the file, sometimes adding strings, sometimes modifying them but always encrypting them. To encrypt the strings the app needs a key and I need the same key to decrypt it when I get to see the text files. Sometimes I want the app itself to decrypt the strings to make use of the data.
What's the best way to provide the key in the app in such a way that users can't find it? Regards Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

