Table of Contents

Method GetHashSize

Namespace
DocWright.Cryptography
Assembly
DocWright.Cryptography.dll

GetHashSize(OfficeHashAlgorithmKind)

Returns the digest length in bytes.

public static int GetHashSize(OfficeHashAlgorithmKind kind)

Parameters

kind OfficeHashAlgorithmKind

The algorithm.

Returns

int

The digest length, or zero when unsupported.