开发者

ColdFusion 8 Diffie-Hellman Encryption

I am integrating with a 3rd party that requires I use the Diffie-Hellman encryption algorithm. The CF docs indicate that this is a supported algorithm.

When I attempt to call Encrypt() with either "Diffie-Hellman" or "DH" I get the error message: "The Diffie-Hellman algorithm is not supported by the Security Provider you have chosen."

Is it possible to configure CF to us开发者_JAVA百科e a different Security Provider that would include DH? Or, Is it possible to use java objects directly to accomplish this?


The Diffie-Hellman algorithm is only supported by Enterprise edition.
(this is documented in the page you linked to, but it's not entirely clear)

If you only have Standard edition then you'll need to find an existing Java implementation you can use with createObject('java','...'), or maybe reimplement one with pure CFML.

If you do the latter, it would be great to share the code on riaforge/github/wherever, so other CFML users can benefit.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜