Xceed Encryption Library Documentation
About the XceedSHAHashingMethod object
Xceed Hashing control reference > Hashing Method objects > About the XceedSHAHashingMethod object

Description

This Hashing Method object represents SHA-2 and SHA-1 hashing algorithms and supports the SHA-1, SHA-256, SHA-384 and  SHA-512 algorithms.

How to use

After you have either created an instance of this object or obtained one by reading the contents of the Xceed Hashing control's HashingMethod property, you can set the HashSize property if it does not contain the current number of bits you need. After that, call the Hash method or the ReadFile method and obtain the resulting hashed value from the HashValue property.

The SubProcessing property allows further operations to be efficiently performed on the source data. For example, it allows the source data that was used to calculate a hash value to be passed to the Xceed Encryption or Xceed Signing objects or to other compatible Xceed component objects such as the ones from the Xceed Streaming Compression Library or the Xceed Binary Encoding Library.

Properties

Methods

None

COM interfaces

DXceedSHAHashingMethod (Default dual interface)

IXceedSHAHashingMethod

ProgID

Xceed.SHAHashingMethod.1