(.Net 1.1)SHA1與MD5雜湊函數的快速取得法


Using System.Web.FormsAuthentication.HashPasswordForStoringInConfigFile


Example:


FormsAuthentication.HashPasswordForStoringInConfigFile(password , passwordFormat )

參數

password
要做雜湊演算的密碼。
passwordFormat
要使用的雜湊演算。選擇為「sha1」或「md5」。

傳回值

傳回包含雜湊密碼的 String

備註

所支援的密碼演算法為 SHA1 和 MD5。.Net FrameWork 2.0 已支援更多密碼演算法。

引用通告地址: 點擊獲取引用地址
評論: 1 | 引用: 0 | 閱讀: 3042 | 列印
Designerwatches [ 2010-05-06 00:46 網址 | 回覆 | 編輯 刪除 ]
Wholesale fashion watches designs and distributes Designer watches, Bvlgari Watches, Rolex Watches, and home furnishings as well, but their Cartier Handbags remain among their most well-known and sought-after Gucci Handbags. If you are looking for a reason to choose a Replica Handbags, you need look no further than the many celebrities who have chosen products designed by the teams of the Fendi Handbags.
  • 1 
發表評論
暱 稱: 密 碼:
網 址: E - mail:
驗證碼: 驗證碼圖片 選 項:
內 容: