首页 > 编程 > ASP > 正文

使用md5给实际字符串加密码

2024-05-04 11:05:52
字体:
来源:转载
供稿:网友
使用md5给字符串加密
md5.asp代码见 www.aspprogram.cn/soft.asp?id=39

index.htm
<form name="form1" method="post" action="2.asp">
要加密的字符串:<input type="text" name="ch"><br>
<input type="submit" value="加密"><br>
</form>

2.asp
<!--#include file="md5.asp"-->
<%
 c=request("ch")
 response.write c&"加密得到的字符串为:"&md5(c)
 %>

完毕,运行你的程序,看看结果
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表