如何在点击网络服务器之前加入用户名和密码。 [英] How to encrpt the User Name and Password before hitting webserver.
本文介绍了如何在点击网络服务器之前加入用户名和密码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在点击webserver之前加入用户名和密码。?
How to encrpt the User Name and Password before hitting webserver.?
推荐答案
你可以使用很多算法来做同样的事情。
参考以下链接:
简单加密和解密C#中的数据 [ ^ ]
You can use many algorithms to do the same.
Refere below link:
Simple encrypting and decrypting data in C#[^]
使用System.ComponentModel;
使用System.Security;
使用System.Security.Cryptography;
使用MD5 HashAlgorithm来支付
public static string Decrypt(string Userid,string password)
{
}
public static string Encrypt(string Userid,string password)
{
}
using System.ComponentModel;
using System.Security;
using System.Security.Cryptography;
use MD5 HashAlgorithm to
public static string Decrypt(string Userid, string password)
{
}
public static string Encrypt(string Userid, string password)
{
}
这篇关于如何在点击网络服务器之前加入用户名和密码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文