Table of Contents

Struct SHA256

Namespace
Lime
Assembly
Lime.dll
public struct SHA256 : IEquatable<SHA256>, IComparable<SHA256>
Implements
Inherited Members

Fields

A

[YuzuMember("0")]
public ulong A

Field Value

ulong

B

[YuzuMember("1")]
public ulong B

Field Value

ulong

C

[YuzuMember("2")]
public ulong C

Field Value

ulong

D

[YuzuMember("3")]
public ulong D

Field Value

ulong

Methods

CompareTo(SHA256)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(SHA256 other)

Parameters

other SHA256

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings:

Value Meaning
Less than zero This instance precedes other in the sort order.
Zero This instance occurs in the same position in the sort order as other.
Greater than zero This instance follows other in the sort order.

Compute(string)

public static SHA256 Compute(string source)

Parameters

source string

Returns

SHA256

Compute<T>(params T[])

public static SHA256 Compute<T>(params T[] source) where T : unmanaged

Parameters

source T[]

Returns

SHA256

Type Parameters

T

Compute<T>(T[], int, int)

public static SHA256 Compute<T>(T[] source, int start, int length) where T : unmanaged

Parameters

source T[]
start int
length int

Returns

SHA256

Type Parameters

T

Equals(SHA256)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(SHA256 other)

Parameters

other SHA256

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(SHA256, SHA256)

public static bool operator ==(SHA256 lhs, SHA256 rhs)

Parameters

lhs SHA256
rhs SHA256

Returns

bool

operator !=(SHA256, SHA256)

public static bool operator !=(SHA256 lhs, SHA256 rhs)

Parameters

lhs SHA256
rhs SHA256

Returns

bool