Bob asks:
How can I encrypt text via PGP using CFMX (on Windows)?
ColdFusion has no native PGP abilities. However, you can find solutions on the Developer's Exchange. In fact, there is a free CFC-based one called PGP CFC. I haven't tested this myself, but you might want to check it out.
On a side note - ColdFusion MX 7 added many new encryption features. Check out the docs for Encrypt.
Archived Comments
How can I reach you to also ask a question. I don't see any contact info here.
I've been using this for years with great success.
http://www.digitaloutlook.c...
While the CF 7 hash and encrypt is a bit better, it's still not where it needs to be...
I haven't run any "real" tests, but as anecdotal evidence, I've been able to crack passwords within minutes with rainbow tables (http://www.antsight.com/zsl... up to SHA1. You should also check out http://coldfusion.sys-con.c.... The actual zip file is at http://swem.wm.edu/blogs/wa... This was written for CF 6.1 with an older version of GnuPG, and I need to update the code base a bit, but it should give you another way to implement really strong encryption algorithms on your server.
One final note about encryption. In order to get really "good" random numbers, most software relies on ramping up your CPU to create entropy, which can have an affect on your server performance.
RRR07, email me at ray@camdenfamily.com
Raymond,
Thanks for the mention. I try to keep PGP CFC up-to-date <a href="http://www.tamuri.com/">here</a>, but, unfortunately, PGP 8.1 (and up) broke compatibility. I don't believe <a href="http://community.wow.net/gr...">GRT</a> has got round to updating the DLL, and I'm not aware of anyone else who has really made any effort to fix it for the latest version.
Regards,
Tamuri
Gosh, no links. Should have noticed.
Apologies!
In need of a way to deal with PGP in CF - are these links still my best bet in 2007, or are there new/better options?
Here's a solution using the BouncyCastle API to openPGP.
http://www.intersuite.com/c...
There is a project posted on RIAforge for CF 8 and 9
http://pgp.riaforge.com