HashHelper.SHA1 Method

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

Overloads

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

SHA1(Byte[])

Calculates a SHA1 hash.

public static string SHA1(byte[] input)

Parameters

input
System.Byte[]

The input to compute the hash code for.

Returns

string

The computed hash

SHA1(string)

Calculates a SHA1 hash.

public static string SHA1(string input)

Parameters

input
string

The input to compute the hash code for.

Returns

string

The computed hash