Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Crypt::RC4 & cookies

Thread Tools

Crypt::RC4 & cookies

David S.
Posts: n/a
I am currently working on a program that encrypts login information into
cookies using the RC4 module. However I run into a problem during the
decryption process. For example, I made up a temporary password of test123
and when decrypting (in IE) it gives me testq23. However, in netscape it
decrypts fine. I was wondering if anybody knows of any glitches in the
module or IE, or whatever this could be. It might be part of the built in
character sets, because I looked at the cookies in encrypted form in both
browsers and one character showed up different..

IE ----> ,e_

as you can see there is obviously some sort of difference in the characters,
and i'm wondering if anybody may know the solution....

Also is there any generic guidelines for the encrypt/decrypt keys for RC4?
Is it possible that I picked an invalid key because i've tried several
different variations, however none of them seem to fix the problem...

David Stinemetze Removed)

================================================== ==========
"Make a fire for a man, keep him warm for an evening.
Set a man on fire, keep him warm for the rest of his life."
================================================== ==========

================================================== ===
"I will stand my watch and set myself on the rampart,
and watch to see what He will say to me,
and what I will answer when I am corrected."
-Habakkuk 2:1
================================================== ===

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
What's the proper way of reading cookies? Request.Cookies("mycook") doesnt work user ASP .Net 3 03-31-2007 01:53 PM
Response.Cookies vs Request.Cookies Alex Nitulescu ASP .Net 1 02-03-2005 09:43 AM
Persistent Cookies vs. session cookies Andy Fish Java 3 11-06-2003 10:44 AM
Good Cookies bad Cookies? AK Computer Support 23 10-26-2003 05:20 AM