MD5和SHA1加密
生活随笔
收集整理的這篇文章主要介紹了
MD5和SHA1加密
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
MD5和SHA1加密 MD5和SHA1算法對數據進行加密
例:
'MD5加密
Dim UserPWD as String
UserPWD = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(UserPWD, "MD5")
'SHA1加密
UserPWD = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(UserPWD, "SHA1")
posted on 2006-12-20 15:47 劉旭 閱讀(...) 評論(...) 編輯 收藏
例:
'MD5加密
Dim UserPWD as String
UserPWD = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(UserPWD, "MD5")
'SHA1加密
UserPWD = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(UserPWD, "SHA1")
posted on 2006-12-20 15:47 劉旭 閱讀(...) 評論(...) 編輯 收藏
轉載于:https://www.cnblogs.com/liuxu0909/archive/2006/12/20/598198.html
總結
以上是生活随笔為你收集整理的MD5和SHA1加密的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 火车站经典留言
- 下一篇: 模板方法模式(Template Meth