IHashAlgorithmBuilder.

CreateHashAlgorithm(HashAlgorithm) Method

Summary

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

Syntax

HashAlgorithm CreateHashAlgorithm(HashAlgorithm hashAlgorithm)

Parameters

Name Type Description
hashAlgorithm HashAlgorithm Algorithm enum value.

Return Value

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