mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-10-18 07:01:50 -05:00
Jordan Wages
735d7c4c91
Committing the unfinished changes to the SecurityHelper as I flesh it out during the migration. Also starting a documentation folder powered by Sandcastle.
1.1 KiB
1.1 KiB
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#
public static byte[] SHA256Hash(
string value
)
VB
Public Shared Function SHA256Hash (
value As String
) As Byte()
C++
public:
static array<unsigned char>^ SHA256Hash(
String^ value
)
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.