<script runat="server"> Function HashMD5(strText As String) As String If strText = Nothing Then strText = "" HashMD5 = System.Web.Security.FormsAuthentication. _ HashPasswordForStoringInConfigFile(strText, "md5") End Function strText = Request.QueryString("text") strHash = HashMD5(strText) </script>