Create()

HashAlgorithm::Create(const String&) method

Creates hash algorithm based on name.

static SharedPtr<HashAlgorithm> System::Security::Cryptography::HashAlgorithm::Create(const String &hashName)

Arguments

ParameterTypeDescription
hashNameconst String&One of the following values: "MD5", "SHA1", "SHA256", "SHA384", "SHA512", "RIPEMD160" or any of them with "System.Security.Cryptography." prefix.

See Also