Xceed Encryption Library Documentation
Overview of the Xceed Hashing control

The Xceed Hashing control is an object that is used to hash data, a process also known as creating a message digest. The source of data to hash can be memory buffers, strings, blobs, streaming data or single files. The hashed data is always outputted to memory. 

The Xceed Hashing control supports the SHA-1, SHA-256, SHA-384 and  SHA-512 algorithms.

Experts have found one or more weaknesses in the Haval hashing algorithm; therefore, it is strongly recommended that a hashing algorithm other than Haval be used in high-security situations. For detailed information refer to the Cryptology ePrint Archive.

How to use

After you have created an instance of the Xceed Hashing object, the first thing to do is to set the HashingMethod property so that you can select which hashing algorithm the library will use. This involves creating an instance of a Hashing Method object and setting its properties if needed.

After that, you are free to call any of the methods such as ReadFile to read data from a file and hash it to memory, or Hash to hash data from memory to memory.

If you have a registered license and are instantiating the object dynamically, you may need to call the License method in certain cases.

Resources

Getting started quickly

Sample applications