你的主頁或者你管理的網站有各種密碼需要保護
file: encrypting
<%@ Page language=
<html><head>
<meta name=
<meta name=
<body>
<form method=
<asp:TextBox id=TextBox
<asp:Button id=Button
Encrypting Password(MD
<asp:Label id=MD
</form>
</body></html>
file:encrypting
namespace encrypting
{
using System;
using System
using System
using System
using System
using System
using System
using System
using System
using System
using System
/// <summary>
/// Summary description for encrypting
/// </summary>
public class encrypting : System
{
protected System
protected System
protected System
public encrypting()
{
Page
}
protected void Page_Load(object sender
{
if (!IsPostBack)
{
//
// Evals true first time browser hits the page
//
}
}
protected void Page_Init(object sender
{
//
// CODEGEN: This call is required by the ASP+ Windows Form Designer
//
InitializeComponent();
}
/// <summary>
/// Required method for Designer support
/// the contents of this method with the code editor
/// </summary>
private void InitializeComponent()
{
Button
this
}
public void Button
{
MD
//SHA
}
}
}
注意
From:http://tw.wingwit.com/Article/program/net/201311/13925.html