Class Blocks
Break a byte array into blocks for Argon2 to use.
Inheritance
System.Object
Blocks
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 Blocks
Constructors
| Improve this Doc View SourceBlocks(IEnumerable<UInt64[]>)
Initializes a new instance of the Blocks class.
Declaration
public Blocks(IEnumerable<ulong[]> memories)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.UInt64[]> | memories | The arrays to use under the blocks. |
Properties
| Improve this Doc View SourceItem[Int32]
Gets or sets the BlockValues element at the specified index.
Declaration
public BlockValues this[int i] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i | The BlockValues element to get or set. |
Property Value
Type | Description |
---|---|
BlockValues | The requested BlockValues element. |
Length
Gets the total number of BlockValues in the Blocks.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |