Table of Contents

Method Parse

Namespace
DocWright.Cryptography
Assembly
DocWright.Cryptography.dll

Parse(string?)

Parses an algorithm name as it appears in a w:algorithmName attribute or an agile hashAlgorithm attribute.

public static OfficeHashAlgorithmKind Parse(string? name)

Parameters

name string

The name, for example "SHA512" or "SHA-512".

Returns

OfficeHashAlgorithmKind

The algorithm, or Unsupported.