RSA encryption/decryption

2010-11-23 Thread Asim .

Hi guys,

Need some help on Asymmetric Encryption in coldfusion webservice

first, I need generate rsa public/private key pair.

I am using CF8 Enterprise version

I download the "Bouncy Castle" API java cryptography library to do that.



My code looks like this

[code]


































 












[/code]

I am actually trying to implement the example from this link
http://www.12robots.com/index.cfm/2010/7/19/Using-Asymmetric-Cryptography-in-your-ColdFusion-Application--Security-Series-1610


I need to use this as a webservice
My webservice will receive 3 parameters (randomTxt, username, password) and 
based on that will return the session id along with the public key.

can someone direct me to the correct path? 

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


RSA encryption/decryption coldfusion

2010-11-23 Thread Asim Manzur

Hi guys,

Need some help on Asymmetric Encryption in coldfusion webservice

first, I need generate rsa public/private key pair.

I am using CF8 Enterprise version

I download the "Bouncy Castle" API java cryptography library to do that.



My code looks like this

[code]


































 












[/code]

I am actually trying to implement the example from this link
http://www.12robots.com/index.cfm/2010/7/19/Using-Asymmetric-Cryptography-in-your-ColdFusion-Application--Security-Series-1610


I need to use this as a webservice
My webservice will receive 3 parameters (randomTxt, username, password) and
based on that will return the session id along with the public key.

can someone direct me to the correct path?


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