Table of Contents

Class Hash

Namespace
Tharga.Toolkit
Assembly
Tharga.Toolkit.dll

Represents a raw hash value as a byte array. Supports implicit conversion to and from byte[].

public record Hash : IEquatable<Hash>
Inheritance
Hash
Implements
Derived
Inherited Members
Extension Methods

Properties

Value

Gets the raw hash bytes.

public byte[] Value { get; }

Property Value

byte[]

Operators

implicit operator Hash(byte[])

Converts a byte array to a Hash.

public static implicit operator Hash(byte[] hash)

Parameters

hash byte[]

Returns

Hash

implicit operator byte[](Hash)

Converts a Hash to a byte array.

public static implicit operator byte[](Hash hash)

Parameters

hash Hash

Returns

byte[]