Share via


Crypto.SHA1(String) Method

Definition

Returns a SHA-1 hash value for the specified string.

public static string SHA1 (string input);
static member SHA1 : string -> string
Public Shared Function SHA1 (input As String) As String

Parameters

input
String

The data to provide a hash value for.

Returns

The SHA-1 hash value for input as a string of hexadecimal characters.

Exceptions

input is null.

Applies to