If it's any help Brooke....look for CFENCRYPT...and sorry...but do read
the docs...they are fairly clear and state more than I can here.

I used to use a tag for this kind of stuff call CF-CRYPT.  I recently
looked under the hood and found it used CFENCRYPT/CFDECRYPT (but the old
way before we could pick which crypto library etc.).

I re-wrote the tag to use better encryption and it was thanks to the
docs (which I would rarely say as I feel most docs are lean and nebulous
at best).

The bit that threw me was having to use the generateSecretKey() function
to come up with the key to use that is specific to the encryption
algorithm you decide to work with.  Previously I was just able to use
any string as an encyption key, but with stronger crypto comes fancier
keys ;-)

HTH

Cheers


On Mon, 2011-02-14 at 12:56 -0800, Brook Davies wrote:

> Thanks for the 'check the docs' response.  Why don't you check the docs and
> tell me how to generate a public/private key pair with RSA encryption and do
> decryption/encryption with this key pair? And then once you actually know
> that the docs contain something relevant to my request you can re-post your
> comment and I'll eat my words.  
> 
> You should really know what you talking about before you go spouting "read
> the docs". 
> 
> Brook
> 
> 
> -----Original Message-----
> From: Jeffrey Battershall [mailto:[email protected]] 
> Sent: February-13-11 6:57 AM
> To: cf-talk
> Subject: Re: cfx_pwtextcrypt & CF9
> 
> 
> Check the CF9 docs.  There's quite a bit of encryption/decryption support
> built in to CF8/9.  You might have transition issues to work through, but
> you shouldn't need a CFX for that purpose at this point.
> 
> On Thu, Feb 10, 2011 at 3:53 PM, Brook Davies <[email protected]> wrote:
> 
> >
> > We've been using cfx_pwtextcrypt since 2002, its worked fine on all CF 
> > versions right up to CF8. However, it looks like on the 64 Bit CF9, it 
> > no longer works. I assume it's a COM related issue. Does anyone know for
> sure?
> >
> >
> >
> > The tag was able to generate a public/private key pair using RSA 512 
> > bit encryption and subsequently perform encryption/decryption using 
> > the keys generated. Does anyone know if there is a way to do this with 
> > CF9 without this CFX?
> >
> >
> >
> > Brook D.
> >
> >
> >
> >
> >
> >
> >
> >
> > 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342212
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to