HashAlgorithmBuilder.

CreateHashAlgorithm(HashAlgorithm) Method

Summary

Return a instance of System.Security.Cryptography.HashAlgorithm by HashAlgorithm enum value.
Namespace
Cake.Common.Security
Containing Type
HashAlgorithmBuilder

Syntax

public HashAlgorithm CreateHashAlgorithm(HashAlgorithm hashAlgorithm)

Parameters

Name Type Description
hashAlgorithm HashAlgorithm Algorithm enum value.

Return Value

Type Description
HashAlgorithm A System.Security.Cryptography.HashAlgorithm instance.