Method Create
- Namespace
- DocWright.Cryptography
- Assembly
- DocWright.Cryptography.dll
Create(OfficeHashAlgorithmKind)
Creates a hash algorithm instance.
public static HashAlgorithm Create(OfficeHashAlgorithmKind kind)
Parameters
kindOfficeHashAlgorithmKindThe algorithm.
Returns
- HashAlgorithm
A new instance the caller must dispose.
Exceptions
- UnsupportedFeatureException
The algorithm is not implemented, or the platform refuses it.