Class Blocks
Break a byte array into blocks for Argon2 to use.
Inherited Members
Namespace: Isopoh.Cryptography.Argon2
Assembly: Isopoh.Cryptography.Argon2.dll
Syntax
public class Blocks
Constructors
| Edit this page View SourceBlocks(IEnumerable<Memory<ulong>>)
Initializes a new instance of the Blocks class.
Declaration
public Blocks(IEnumerable<Memory<ulong>> memories)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Memory<ulong>> | memories | The arrays to use under the blocks. |
Properties
| Edit this page View Sourcethis[int]
Gets or sets the BlockValues element at the specified index.
Declaration
public BlockValues this[int i] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | 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 |
|---|---|
| int |