Perhaps the simplest is what the asp.net SetReg utility does. It encrypts a string to a machine, you can then store it anywhere, and it can only be decrypted on that machine. The code for this is quite simple.
This just uses the Crypto API in crypt32.dll - CryptProtectData and CryptUnprotectData with a dataprotection scope of the local machine. You can of course use instead the CurrentUser as the dataprotection scope, in which case the data is encrypted to the current windows user. Myles. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of John Bird Sent: Wednesday, 29 July 2009 4:38 p.m. To: NZ Borland Developers Group - Offtopic List Subject: Re: [DUG-Offtopic] Software copy protection Want to read more on the techniques used out there for hashng/registry and licence control. Anyone have any good references for reading? John _______________________________________________ NZ Borland Developers Group Offtopic mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/offtopic Unsubscribe: send an email to [email protected] with Subject: unsubscribe Attention: This communication is confidential and may be legally privileged. If you are not the intended recipient, please do not use, disclose, copy or distribute it, other than to return it to us with your confirmation that it has been deleted from your system. _______________________________________________ NZ Borland Developers Group Offtopic mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/offtopic Unsubscribe: send an email to [email protected] with Subject: unsubscribe
