Show / Hide Table of Contents

Class Blake2BTreeConfig

Parameters for the tree hash.

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

Constructors

| Edit this page View Source

Blake2BTreeConfig()

Initializes a new instance of the Blake2BTreeConfig class.

Declaration
public Blake2BTreeConfig()

Properties

| Edit this page View Source

FanOut

Gets or sets the tree fan out value.

Declaration
public int FanOut { get; set; }
Property Value
Type Description
int
| Edit this page View Source

IntermediateHashSize

Gets or sets the intermediate hash size.

Declaration
public int IntermediateHashSize { get; set; }
Property Value
Type Description
int
| Edit this page View Source

LeafSize

Gets or sets the tree leaf size.

Declaration
public long LeafSize { get; set; }
Property Value
Type Description
long
| Edit this page View Source

MaxHeight

Gets or sets the tree maximum height.

Declaration
public int MaxHeight { get; set; }
Property Value
Type Description
int

Methods

| Edit this page View Source

CreateInterleaved(int)

Create an instance of the Blake2BTreeConfig for parallel hash computation.

Declaration
public static Blake2BTreeConfig CreateInterleaved(int parallelism)
Parameters
Type Name Description
int parallelism

The amount of parallelism to invoke when generating the hash.

Returns
Type Description
Blake2BTreeConfig

An instance of the Blake2BTreeConfig suitable for generating a hash.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX