Reference Library
XSha1 Class
NamespacesMBNCSUtilXSha1
Provides an implementation of Battle.net's "broken" (nonstandard) SHA-1 implementation. This class cannot be inherited.
Declaration Syntax
C#Visual BasicVisual C++
public static class XSha1
Public NotInheritable Class XSha1
public ref class XSha1 abstract sealed
Members
All MembersMethods



IconMemberDescription
CalculateHash(array<Byte>[]()[][])
Calculates the "broken" SHA-1 hash used by Battle.net.

Remarks
This class does not derive from the standard .NET SHA1 class, and also does not provide adequate security for independent security solutions. See the System.Security.Cryptography namespace for more information.
Thread Safety
This type is safe for multithreaded operations.
Inheritance Hierarchy
Object
XSha1

Assembly: Asgard5Library (Module: Asgard5Library)