JElster
asked on
Encrypt ASP cookies
How can I encrypt classic ASP cookies?
Response.cookies("name") = "JOHN"
Response.cookies("name") = "JOHN"
you'll need to write your function to encrypt the cookies. You can use the one found here or for something stronger, you can use the zip file on this site which you can download from here
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Big Monty gave you a one way hash option and I gave you an encryption option although we tend to call them both "encryption". The hash option does not allow a way to decrypt. You have to simply test it. If you need to extract the value and use a password to decrypt, then you need the the encryption option.
ha, both libraries use the base code.
md5 and sha are one way hash's.
AES, DES, RC4 are cyphers can can be encrypted and decrypted.
md5 and sha are one way hash's.
AES, DES, RC4 are cyphers can can be encrypted and decrypted.
I've bookmarked http://www.classicasp.org/ . I don't do a lot of Classic ASP but when I do I always need to find something! Thanks for the link.