I'm also usign your method Raymond, and thank you for the function Timothy.

I have tried the cfusion_encrypt function with #cfusion_encrypt
('hereissomething',"test")#
and it turned out 1C0001111D16001B1900071C1D0B14. No problem here.

Let me explain when I generate encrypt errors (rarely), yesterday I tried to
encrypt the whole database with cfencrypt and when it came to the 984th
record, it threw an error. I modified the seed and tried again, but this
time it threw the error at 1222th row.

Should we be careful while selecting seed words?

----- Original Message -----
From: "Timothy Heald" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 4:17 PM
Subject: RE: Encryption differences in ColdFusion 4.5 and 5.0?


> We have done different things to make CF encryption give us safe
characters.
> First, when we started looking at url variable encryption, we used
> URLencodedFormat() on the encrypted value so that netscape wouldn't freak
> out.  Then someone on the list mentioned the undocumented functions
> cfusion_encrypt and decrypt.  These only use "safe" alphanumeric
characters.
> These have been working out for us just fine, and we are even using it to
> write to the DB.
>
> Tim Heald
> ACP/CCFD :)
> Application Development
> http://www.schoollink.net/
>
> -----Original Message-----
> From: Mahmut Basaran [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 28, 2001 8:54 AM
> To: CF-Talk
> Subject: Re: Encryption differences in ColdFusion 4.5 and 5.0?
>
>
> Hello
>
> >> safe characters...
>
> I sometimes have problems with the encrypt functions. Can someone point me
> "where can I learn the safe characters"?
>
> thanks,
> Mahmut
>
> ----- Original Message -----
> From: "Raymond Camden" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 28, 2001 3:32 PM
> Subject: RE: Encryption differences in ColdFusion 4.5 and 5.0?
>
>
> > > > it is a mistake to use unofficial functions
> > >
> > >
> > > So what's a developer to do if the "official" function is known to
> produce
> > > unpredictable results that breaks applications and the
> > > "unofficial" function
> > > produces predictable, useful results?
> >
> > Report it, there are multiple ways of doing that. The best way is via
tech
> > support, or via the Forums. As for this case, I'm looking into it myself
> to
> > see if I can recreate the bug. So far, I've mainly heard that the
_output_
> > from the functions are a bit odd, but not wrong, per se. Tyson said,
"The
> > issue with the out-of-the-box ColdFusion encrypt/decrypt functions is
> > that it doesn't limit itself to "safe" characters when doing the
> > encrypting." and I think again the point is what is meant by "safe"
> > characters. Jon Hall pointed out a method to make the string db safe.
> >
> > -Ray (who just happens to work for Macromedia, but doesn't speak for em,
> > blah blah blah ;)
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to