Re: encrypt/decrypt bug

2007-04-27 Thread Dana Kowalski
This is going to sound weird but I've seen two issues nesting a trim() inside other functions in the past. When I moved it above the function and cfset to a temp it fixed the error. May not apply here but its only a 15 second test :) ~~

Re: encrypt/decrypt bug

2007-04-27 Thread Les Mizzell
Interesting - changing the value of #encCODE# to a longer string seems to have fixed the problem. Haven't tested with every possible combination of letters/numbers on the input yet, so ya never know - but it seems to like 2s now. Very odd... > For this code: > > > > > > Figure this out

Re: encrypt/decrypt bug

2007-04-27 Thread Mike Chabot
Since you are running CFMX 7, you might give the new encryption methods a try. If you encode using Hex, you should be able to use the encrypted string directly in a URL without encoding it. example: Good luck, Mike Chabot On 4/27/07, Kris Jones <[EMAIL PROTECTED]> wrote: > Hi Les, > > I've seen

Re: encrypt/decrypt bug

2007-04-27 Thread Kris Jones
Hi Les, I've seen similar behavior most typically when I'm also urlencoding the the encrypted value. What I figured out was happening is that if the encrypted value contained a space, when urlencodedformat() was run on it, the space would get converted to "%20" as expected. However, when it was de

RE: encrypt/decrypt bug

2007-04-27 Thread Rob O'Brien
Could you post the entire encrypt/decrypt code snip? -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Friday, April 27, 2007 11:45 AM To: CF-Talk Subject: encrypt/decrypt bug This is driving me crazy!! For this code: Figure this out. Here's a few