問題描述
我想創建一個許可證密鑰,您會推薦哪種加密算法?
I want to create a license key, which cryptography algorithm would you recommend?
基本上輸入是:
公司名稱
主版本號
創建日期
有效期
有特點1:
有特點2:
有特點3:
company name
major version number
date created
expirey date
has feature1:
has feature2:
has feature3:
例如Acme 公司 5.0 20081102 20081102 0 1 0
e.g. Acme Inc 5.0 20081102 20081102 0 1 0
相關:內置 .NET 加密算法最安全?
推薦答案
我建議:不要花太多時間來保護您的密鑰.使用字節編譯語言很容易反編譯,只需讓應用程序跳過驗證步驟.無論您的密鑰有多安全,當您的驗證函數始終返回 true 時,它??們都無關緊要.序列號可以讓誠實的人保持誠實.
I would recommend: Don't spend too much time on securing your keys. With byte compiled languages it is very easy to decompile and just make the application skip the validation step. No matter how secure your keys are, they don't matter when your validation function always return true. Serial keys are there to keep honest people honest.
這篇關于.NET 加密許可證密鑰?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!