Gossamer Forum
Home : General : Perl Programming :

Simple 'crypt' / 'decrypt'

Quote Reply
Simple 'crypt' / 'decrypt'
Hi, when users visit a certain section of my site the index.cgi script places a cookie called 'ref' with the referer as value (stripped and cleansed like 'www.gossamer-threads.com'). This a couple of pages later I can use this information when people fill-in a request information email.

Only, instead of having the complete referer visible in the cookie I would like something like 'gfhjfjkshahfjkash'. But not too complicated! Saw some 5/6 lines heavy crypt and decrypt function.

But I was more thinking of 'cba' instead of 'abc' or 'zyx' instead of 'abc'. (a one lines code Wink)

Last edited by:

cK: May 31, 2002, 10:55 AM
Subject Author Views Date
Thread Simple 'crypt' / 'decrypt' cK 4931 May 31, 2002, 10:54 AM
Thread Re: [cK] Simple 'crypt' / 'decrypt'
Paul 4793 May 31, 2002, 11:34 AM
Thread Re: [Paul] Simple 'crypt' / 'decrypt'
cK 4779 May 31, 2002, 11:48 AM
Thread Re: [cK] Simple 'crypt' / 'decrypt'
cK 4476 May 3, 2003, 9:07 AM
Post Re: [cK] Simple 'crypt' / 'decrypt'
cK 4462 May 3, 2003, 4:13 PM