Skip to main content
March 27, 2013
Question

RSA Asymmetric Encryption/Decryption with Private/Public Keys

  • March 27, 2013
  • 1 reply
  • 1012 views

Hello everyone,

I have several clients with CF7-10 websites and I need to encrypt/decrypt some text with RSA asymmetric algorithm, where keys are provided as XML files.

I have found this example, but I am not sure how to make it work, as it is a little bit old and using generated keys:

http://www.12robots.com/index.cfm/2010/7/19/Using-Asymmetric-Cryptography-in-your-ColdFusion-Application--Security-Series-1610

Also there are some examples on Java in the net, but I don't have a clue how to convert them too.

Does anyone have ready solution or code example for provided keys?

Thanks a lot in advance.

    This topic has been closed for replies.

    1 reply

    Participant
    July 26, 2013

    You could have a look at coldfusion-rsa component on GitHub https://github.com/ggfx/coldfusion-rsa