> I think you might be able to use
> java.security.KeyPairGenerator to
> generate the keys and then javax.crypto.Cipher to do the
> encryption/decryption. I haven't tested it though so i
> don't know if
> it will work.

Yep, it does. I believe he is using this code to do the encryption
http://www.12robots.com/index.cfm/2010/7/19/Using-Asymmetric-Cryptography-in 
-your-ColdFusion-Application--Security-Series-1610 

... and this will work to regenerate the keys from an array of bytes
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:62618#342138


      

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:342279
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to