1 Reply Latest reply on Jul 26, 2013 6:31 AM by WuH

    RSA Asymmetric Encryption/Decryption with Private/Public Keys


      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-ColdFusi on-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.