在哪里给出md5算法的代码.或我要用于验证序列密钥的任何其他算法 [英] where to give code of the md5 algo. or any other algorithm that i want to use for the validation of the serial key
问题描述
我是新来的,所以我不会理解我的工作方式.在哪里编写md5算法的代码.或我要用于验证序列密钥的任何其他算法.我想在项目中使用md5来验证串行密钥.
我添加了客户信息对话框.格式是使用序列号模板给出的.但是,为了进行验证,它会带来一个问题,即Visual Studio的逻辑是如此简单& ;;如果某些数字是/by 7,那么密钥是有效的.
所以我想使用我的逻辑,如使用sha1,MD5.所以我必须在哪里编码.
没有显示客户信息对话框的设计,如果显示,那么我在验证按钮上进行编码.但是,现在我该怎么办?
I am new in this so i am not going to understand the way in which i have to work. Where to write code of the md5 algo. or any other algorithm that i want to use for the validation of the serial key. I want to use the md5 for my project to validate the serial key.
i added the customer information dialog. and format is given by using the serial number template. but for validation it create the problem that visual studio''s logic is so simple & it is if the some of digits is / by 7 then key is valid.
So i want to use the my logic like use sha1, MD5. So where i have to do coding.
The design of the customer info dialog is not show,if it is shown then i do the coding on validate button. But now what i have to do?
推荐答案
我建议您去这里,并阅读标有安全性"的部分.
维基百科上的MD5 [
I suggest you go here, and read the section labeled "Security".
MD5 on Wikipedia[^]
Beyond that, your question makes absolutely no sense.
我将使用System.Security.Cryptography
命名空间:
http://msdn.microsoft.com /en-us/library/system.security.cryptography.aspx
MD5详细信息:
http://msdn.microsoft.com/zh-CN /library/system.security.cryptography.md5.aspx
I would use theSystem.Security.Cryptography
namespace:
http://msdn.microsoft.com/en-us/library/system.security.cryptography.aspx
MD5 specifics:
http://msdn.microsoft.com/en-us/library/system.security.cryptography.md5.aspx
这篇关于在哪里给出md5算法的代码.或我要用于验证序列密钥的任何其他算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!