Click or drag to resize

HashAlgorithm Class

List of supported hash functions and some convenience functions.
Inheritance Hierarchy
SystemObject
  Guardtime.KSI.HashingHashAlgorithm

Namespace:  Guardtime.KSI.Hashing
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public sealed class HashAlgorithm

The HashAlgorithm type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDefault
Default Hash Algorithm
Public propertyDeprecatedSinceDate
Returns deprecated since date.
Public propertyHasDeprecatedSinceDate
Returns true if the algorithm has deprecated since date set.
Public propertyId
Return Guardtime id of algorithm.
Public propertyLength
Return length of the algorithm return value.
Public propertyName
Return name of algorithm.
Public propertyObsoleteSinceDate
Returns obsolete since date.
Public propertyStatus
Return status of the algorithm.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodStatic memberGetById
Get hash algorithm by id/code.
Public methodStatic memberGetByName
Get hash algorithm by name.
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetNamesList
Get list of supported the algorithms.
Public methodGetType (Inherited from Object.)
Public methodIsDeprecated
Returns true if the algorithm is deprecated at the given date
Public methodStatic memberIsInvalidAlgorithm
Returns true if algorithm with given id is marked as invalid.
Public methodIsObsolete
Returns true if the algorithm is obsolete at the given date
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberRipemd160
RIPEMD-160 Hash Algorithm
Public fieldStatic memberSha1
SHA1 Hash Algorithm
Public fieldStatic memberSha2256
SHA2-256 Hash Algorithm
Public fieldStatic memberSha2384
SHA2-384 Hash Algorithm
Public fieldStatic memberSha2512
SHA2-512 Hash Algorithm
Public fieldStatic memberSha3224
SHA3-224 Hash Algorithm
Public fieldStatic memberSha3256
SHA3-256 Hash Algorithm
Public fieldStatic memberSha3384
SHA3-384 Hash Algorithm
Public fieldStatic memberSha3512
SHA3-512 Hash Algorithm
Public fieldStatic memberSm3
SM3 Hash Algorithm
Top
See Also