Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / May 2008



Tip: Looking for answers? Try searching our database.

RSA-SHA1 encryption with CF8 Enterprise

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
webappersh - 30 Apr 2008 19:43 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.