I am writing a mac app. I want to know how to save a product key is a relatively safe and reasonable way.
For example, the way to restore Microsoft Office product key(I do not know it). Keychain maybe safe, but it is easy to find on mac.Which has a good solution?
NET supports public key encryption in various ways, such as http://msdn.microsoft.com/en-us/library/ms867080.aspx. Having said this, all you'd gain is some confidence that someone with full access to the released code would not have the ability to issue their own product keys. None of this stops them from patching the client to accept anything as a valid key. That's where obfuscation fits in. From Encryption Product Keys : Public and Private key encryption