So, the documentation of Encrypt() says that I should be able to do RSA-SHA1
encryption with ColdFusion 8 Enterprise:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_e-g_
01.html
RSA PKCS#1 v1.5 (sign, verify) (SHA-1,SHA-224,SHA-256,SHA-384,SHA-512)
Unfortunately, there's no reference to the syntax for doing such an
encryption, and there don't seem to be any BSafe Crypto-J docs out in the open.
I've tried every combination of "RSA" and "SHA-1" in the algorithm argument
that I can think of.
Anyone have any ideas?
xdeleon - 16 May 2008 13:15 GMT
The docs are junk. SHA is one way, for hashes.
hash(MyString,"SHA-512")
webappersh - 16 May 2008 17:33 GMT
I don't want to do SHA only. I want to do RSA-SHA1.
insuractive - 16 May 2008 21:25 GMT
It looks like the syntax should be:
Encrypt(sText, sKey, "SHA-1")
Livedocs mentions that some libraries are only available on Enterprise edition
of CF and access to the libraries can be restricted, so I would double check
the settings on your CF server to make sure you have access to those libraries.