使用C#加密生成的串行密钥 [英] To encrypt the generated serial key using C#
本文介绍了使用C#加密生成的串行密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I need help to encrypt the generated product key i.e in alphanumberic for my web application. please help me with your idea how to encrypt the generated code using C#
thnk u
我尝试过:
Guid g;
g = Guid.NewGuid();
Console.WriteLine(g);
Console.WriteLine(Guid.NewGuid());
用这个我生成密钥并将其保存在我的sql数据库中。
现在我需要加密生成的代码。请分享您的想法。
thnk u
What I have tried:
Guid g;
g = Guid.NewGuid();
Console.WriteLine(g);
Console.WriteLine(Guid.NewGuid());
with this i generate the key and save it in my sql database.
Now i need to encrypt the generated code. Please share your idea.
推荐答案
https://www.google.com/search?q=c%23+encryption [ ^ ]。
您可以使用MD5,就像我们用于在数据库中保存加密密码一样br />
using-md5-encryption-with-c-and-microsoft-sql-server / [ ^ ]
You can use MD5, like we use for saving encrypted password in database
using-md5-encryption-with-c-and-microsoft-sql-server/[^]
这篇关于使用C#加密生成的串行密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文