Skip to main content

Unity.Networking.Transport.HMACSHA256

Utility class used to compute HMACSHA256 hash

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Object.ToString()

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public static class HMACSHA256

ComputeHash(Byte*, Int32, Byte*, Int32, Byte*)#

Writes 32 bytes to result using key and message

Declaration#

public static void ComputeHash(byte *keyValue, int keyArrayLength, byte *messageBytes, int messageLength, byte *result)

Parameters#

TypeNameDescription
System.Byte*keyValueKey data
System.Int32keyArrayLengthLength of the key data
System.Byte*messageBytesMessage to hash
System.Int32messageLengthLength of the message
System.Byte*resultWhere to write resulting 32 bytes hash