ColdFusion 8 Diffie-Hellman 加密

发布于 2024-09-17 23:22:44 字数 357 浏览 6 评论 0原文

我正在与需要使用 Diffie-Hellman 加密算法的第三方集成。 CF 文档 表明这是受支持的算法

当我尝试使用“Diffie-Hellman”或“DH”调用 Encrypt() 时,我收到错误消息:“您选择的安全提供程序不支持 Diffie-Hellman 算法。”

是否可以将 CF 配置为使用包含 DH 的不同安全提供程序?或者,是否可以直接使用java对象来完成这个任务?

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 use a different Security Provider that would include DH? Or, Is it possible to use java objects directly to accomplish this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

今天小雨转甜 2024-09-24 23:22:44

Diffie-Hellman算法仅企业版支持。
(这记录在您链接到的页面中,但并不完全清楚)

如果您只有标准版,那么您需要找到现有 Java 实现,您可以与 createObject('java','...') 一起使用,或者用纯 CFML 重新实现一个。

如果您选择后者,最好在 riaforge/github/ 任何地方,以便其他 CFML 用户可以受益。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文