Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SHA512 within Silverlight is not available, is there a managed library available?

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.

like image 908
Luke Avatar asked Mar 17 '10 02:03

Luke


2 Answers

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

like image 167
2 revs, 2 users 67% Avatar answered Sep 20 '22 13:09

2 revs, 2 users 67%


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

like image 43
Sam Saffron Avatar answered Sep 20 '22 13:09

Sam Saffron