Show / Hide Table of Contents

Class BlockValues

Gets the values from a ulong array. Block lengths are QwordsInBlock elements long.

Inheritance
object
BlockValues
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Isopoh.Cryptography.Argon2
Assembly: Isopoh.Cryptography.Argon2.dll
Syntax
public sealed class BlockValues

Constructors

| Edit this page View Source

BlockValues(Memory<ulong>)

Initializes a new instance of the BlockValues class.

Declaration
public BlockValues(Memory<ulong> memory)
Parameters
Type Name Description
Memory<ulong> memory

The array of ulong elements the BlockValues will use.

Properties

| Edit this page View Source

this[int]

Gets or sets the ulong element at the specified index.

Declaration
public ulong this[int i] { get; set; }
Parameters
Type Name Description
int i

The ulong element to get or set.

Property Value
Type Description
ulong

The requested ulong element.

Methods

| Edit this page View Source

Copy(ReadOnlyBlockValues)

Copy other into this.

Declaration
public void Copy(ReadOnlyBlockValues other)
Parameters
Type Name Description
ReadOnlyBlockValues other

The ReadOnlyBlockValues to copy.

| Edit this page View Source

Init(ulong)

Copy value into every ulong of this.

Declaration
public void Init(ulong value)
Parameters
Type Name Description
ulong value

The value to copy into this.

| Edit this page View Source

Xor(ReadOnlyBlockValues)

XOR other with this and store the result into this.

Declaration
public void Xor(ReadOnlyBlockValues other)
Parameters
Type Name Description
ReadOnlyBlockValues other

The ReadOnlyBlockValues to XOR.

Operators

| Edit this page View Source

implicit operator ReadOnlyBlockValues(BlockValues)

Defines an implicit conversion of a BlockValues to a ReadOnlyBlockValues.

Declaration
public static implicit operator ReadOnlyBlockValues(BlockValues blockValues)
Parameters
Type Name Description
BlockValues blockValues

The value to convert.

Returns
Type Description
ReadOnlyBlockValues
| Edit this page View Source

implicit operator TempBlockValues(BlockValues)

Defines an implicit conversion of a BlockValues to a ReadOnlyBlockValues.

Declaration
public static implicit operator TempBlockValues(BlockValues blockValues)
Parameters
Type Name Description
BlockValues blockValues

The value to convert.

Returns
Type Description
TempBlockValues
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX