S
Shapper
Hello,
I created a login system and I my passwords are being hashed.
I need to check if everything is working so I need to generate some
hashed passwords to replace the actual passwords I have in this moment
in my database. How can I do this?
I have the following data in my database:
USER PASSWORD
Mike London
Marie Book
Katie NoNe
I want to hash the 3 passwords so I can change my database and test my
login system. How can I do this?
The login system has this:
....
Dim ticket As FormsAuthenticationTicket = New
FormsAuthenticationTicket(1, tbusername.Text, DateTime.Now,
DateTime.Now.AddMinutes(30), True, reader.GetString(0),
FormsAuthentication.FormsCookiePath)
Dim hash As String = FormsAuthentication.Encrypt(ticket)
Dim cookie As HttpCookie = New
HttpCookie(FormsAuthentication.FormsCookieName, hash)
Thanks,
Miguel
I created a login system and I my passwords are being hashed.
I need to check if everything is working so I need to generate some
hashed passwords to replace the actual passwords I have in this moment
in my database. How can I do this?
I have the following data in my database:
USER PASSWORD
Mike London
Marie Book
Katie NoNe
I want to hash the 3 passwords so I can change my database and test my
login system. How can I do this?
The login system has this:
....
Dim ticket As FormsAuthenticationTicket = New
FormsAuthenticationTicket(1, tbusername.Text, DateTime.Now,
DateTime.Now.AddMinutes(30), True, reader.GetString(0),
FormsAuthentication.FormsCookiePath)
Dim hash As String = FormsAuthentication.Encrypt(ticket)
Dim cookie As HttpCookie = New
HttpCookie(FormsAuthentication.FormsCookieName, hash)
Thanks,
Miguel