.NET cryptography for licence keys?(.NET 加密许可证密钥?)
问题描述
我想创建一个许可证密钥,您会推荐哪种加密算法?
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 加密许可证密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:.NET 加密许可证密钥?


- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- 输入按键事件处理程序 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- MoreLinq maxBy vs LINQ max + where 2022-01-01