Silverlight 中的 SHA512 不可用,是否有可用的托管库?

发布于 2024-08-25 05:35:00 字数 173 浏览 13 评论 0原文

Silverlight(适用于 Windows Phone 7 CTP SDK)中缺少 SHA512Managed,最多只能使用 SHA256。有谁知道我可以使用提供独立 C# 或 VB.net SHA512 实现的 .NET 类吗?

我需要使用它来对 HTTP Web 服务进行身份验证。

SHA512Managed is missing in Silverlight (for Windows Phone 7 CTP SDK), only upto SHA256 is available for use. Does anyone know a .NET class that I could use that offers a self-contained C# or VB.net SHA512 implementation?

I need to use this for authentication to a HTTP web service.

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

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

发布评论

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

评论(4

暮凉 2024-09-01 05:35:07

使用 http://hashlib.codeplex.com/ 中的 HashLib 可以正常工作。 HashLib.HashFactory.HashCryptoNotBuildIn 中的一些方法不需要 System.Crytography

Using HashLib from http://hashlib.codeplex.com/ will work fine. There are methods within HashLib.HashFactory.HashCryptoNotBuildIn that do not require System.Crytography.

み青杉依旧 2024-09-01 05:35:07

Mono 有一个您可能会使用的实现,只要您对操作系统许可证感到满意。

https://github.com /mono/mono/blob/master/mcs/class/corlib/System.Security.Cryptography/SHA512Managed.cs

Mono has an implementation you could probably use, provided you are happy with the OS license.

https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Security.Cryptography/SHA512Managed.cs

折戟 2024-09-01 05:35:07

Silverlight 不包含 System.Security.Cryptogray 命名空间。但是,您始终可以移植开源 BeeCrypt 加密库(用 C 编写),并直接在 Silverlight 中使用它。

http://www.koders.com/info.aspx?c= ProjectInfo&pid=VZ53QH5WTR5UV7LWXYVDKP7P3G

Silverlight does not contain the System.Security.Cryptogray namespace. However, you could always port the open source BeeCrypt Cryptography Library (written in C), and use it directly in Silverlight.

http://www.koders.com/info.aspx?c=ProjectInfo&pid=VZ53QH5WTR5UV7LWXYVDKP7P3G

兮颜 2024-09-01 05:35:07

由于不支持 SHA512,我们必须使用我们自己的或第三方的实现。
(在此处查看 msdn..)

Chilkat 的实现对我有用。它非常简单&直接使用。
在这里查看..

As there is no support for SHA512, we have to use our own or 3rd party implementations.
(Check msdn here..)

Chilkat's implementation worked for me. It is very simple & straight-forward to use.
Check it out here..

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