HashHelper.SHA256 Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Overloads

SHA256(Byte[]) Calculates a SHA256 hash.
SHA256(string) Calculates a SHA256 hash.

SHA256(Byte[])

Calculates a SHA256 hash.

public static string SHA256(byte[] input)

Parameters

input
System.Byte[]

The input to compute the hash code for.

Returns

string

The computed hash

SHA256(string)

Calculates a SHA256 hash.

public static string SHA256(string input)

Parameters

input
string

The input to compute the hash code for.

Returns

string

The computed hash