Table of Contents

Method Create

Namespace
DocWright.Cryptography
Assembly
DocWright.Cryptography.dll

Create(OfficeHashAlgorithmKind)

Creates a hash algorithm instance.

public static HashAlgorithm Create(OfficeHashAlgorithmKind kind)

Parameters

kind OfficeHashAlgorithmKind

The algorithm.

Returns

HashAlgorithm

A new instance the caller must dispose.

Exceptions

UnsupportedFeatureException

The algorithm is not implemented, or the platform refuses it.