If you are willing to get your hands quite dirty you might be able to get something working with this: http://freshmeat.net/projects/pgpjava/
Also keep in mind that once you delete the file, while the file descriptor is gone, the data may not be overwritten right away. So you would also need a secure delete utility that resets all the bits to zero when the file is deleted. ______________________________________ Pete Freitag http://www.cfdev.com/ Author of the CFMX Developers Cookbook http://www.petefreitag.com/bookshelf/ Ryan Stille wrote: >I need to encrypt some data using PGP. I googled for a CFX tag to help >with this but couldn't find anything. > >If there's nothing out there, I was thinking of writing the data to a >file, then encrypting it by using cfexecute to call pgp, then reading >the encrypted file back in. How does that sound? I know the data will >be on the disk unencrypted for a moment. > >In perl I would just open a pipe to the pgp executeable and run my data >straight through it, then it would never be clear text on the disk. But >I don't think there's a way to do that in CF. > >-Ryan > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3716 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
