# SHA256Hash Method Produces a SHA256 hash from a given *value*. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d **C#** ``` C# public static byte[] SHA256Hash( string value ) ``` **VB** ``` VB Public Shared Function SHA256Hash ( value As String ) As Byte() ``` **C++** ``` C++ public: static array^ SHA256Hash( String^ value ) ``` **F#** ``` F# static member SHA256Hash : value : string -> byte[] ``` #### Parameters
  String
The value.
#### Return Value Byte[] A byte array equal to the SHA256 hash of *value* or an empty array if it fails. ## See Also #### Reference SecurityHelper Class CapyKit.Helpers Namespace