I wish to encrypt the password type'd by the user and input md5 pw to
the my MS access database. I'm using DWMX's INSERT RECORD
feature to insert them into my db. As currently it is a plain-text pw.
... DWMX codes parameters to insert...
...
<form runat="server" action="register.aspx" method="post" id="UserRegistration" name="UserRegistration">
<input name="customer_password" type="password" id="customer_password" size="20" maxlength="15" runat="server">
<input type="submit" name="Submit" value="Register Now">
<input type="hidden" name="MM_insert" value="UserRegistration"><br>
</form>
How am i able to do that?
I did some research on the net and saw this function but when i inserted
it and had a onClick="encryptString" in my button, theres an error saying
CookiesAuthentication is not declared.
<script runat=server>
Sub encryptString(Src As Object, E As EventArgs)
customer_password = _ CookieAuthentication.HashPasswordForStoringInConfigFile(customer_password.Text, "MD5")
End Sub
</script>
I'm not even sure this will work, help appreciated.