Show / Hide Table of Contents

Class BlockValues

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

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

Constructors

| Improve this Doc View Source

BlockValues(UInt64[], Int32)

Initializes a new instance of the BlockValues class.

Declaration
public BlockValues(ulong[] memory, int blockIndex)
Parameters
Type Name Description
System.UInt64[] memory

The array of ulong elements the BlockValues will use.

System.Int32 blockIndex

The index of the block in memory the BlockValues will use. Blocks are QwordsInBlock elements long.

Properties

| Improve this Doc View Source

Item[Int32]

Gets or sets the ulong element at the specified index.

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

The ulong element to get or set.

Property Value
Type Description
System.UInt64

The requested ulong element.

Methods

| Improve this Doc View Source

Copy(BlockValues)

Copy other into this.

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

The BlockValues to copy.

| Improve this Doc View Source

Init(UInt64)

Copy value into every ulong of this.

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

The value to copy into this.

| Improve this Doc View Source

Xor(BlockValues)

XOR other with this and store the result into this.

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

The BlockValues to XOR.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX