UtilHashingComputeHashOfStringT(String) Method

Computes a hash for the specified ASCII string using the given hash algorithm.

Definition

Namespace: DevCase.Core.Security.Cryptography.Hashing
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string ComputeHashOfString<T>(
	string str
)
where T : HashAlgorithm

Parameters

str  String
The string.

Type Parameters

T
The HashAlgorithm provider.

Return Value

String
An Hexadecimal representation of the resulting hash value.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also