.NET 加密许可证密钥? [英] .NET cryptography for licence keys?

查看:24
本文介绍了.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 加密许可证密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆