Author: drpcken | Posted on: 8/11/2009 10:16:33 PM | Views : 384

I have a password field in one of my tables that is encrypted.  When they first create the account , it inserts their record into the table, generates a random password, encrypts it, and emails them a URL with then encrypted password that they click to verify the account.  Once they click the link  they are required to change their password (which also encrypts this and stores it the table).  For example the encrypted password would look like this in the querystring: HJ3/ezL+tR25A4CN9zEZnsTMchMX3H67ZYYgC96V1Ok=

Problem is the encryption I'm using seems to put == signs or + characters randomly in the encrypted output.  These characters show up in the querystring but when I do a Response.Querystring[] it put spaces in for the special characters, so it doesn't match with what is in the database field...  I've tried SHA256 and a custom encryption method I picked up online, but it always puts + characters in the output.

Th ...

Go to the complete details ...