You can create some of the well known encryption algorithms with JS. One
very popular one, albeit a hashing algorithm, i.e. one-way, is MD5. As far
as someone reverse engineering the algorithm, well, the widely used
algorithms are publicly available, that's why they are used ... they've been
tested and they still can't be easily broken. It's the unknown key combined
with the unknown data that creates a scrambled mess of characters that
cannot be easily derived by reverse engineering. Just watch that you don't
use an algorithm that has licensing restrictions. Also, be aware that JS is
going to be very slow in comparison to using a compiled language version of
any encryption/decryption algorithm.

Regards,

Steve


-----Original Message-----
From: Billy Cravens [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 25, 2000 7:58 PM
To: [EMAIL PROTECTED]
Subject: Re: encrypting a URL parameter


If this is two different servers, and you're running cf on your end, here's
what I'd do:

Build a CF page for them that allows them to create encrypted strings (ie a
form where they type in the string that will be in the url, and it outputs
the encrypted [via encrypt()] string.)  Then on your end, you use cfdecrypt
to decrypt the string.

Of course, you could alternately build an encryption algorithm via
javascript, but anyone with half a brain could reverse engineer it.

Billy

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to