Crypto.SHA256(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.