Share via


Crypto.SHA256(String) Method

Definition

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

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

Parameters

input
String

The data to provide a hash value for.

Returns

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

Exceptions

input is null.

Applies to