Show / Hide Table of Contents

Class Blake2BTreeConfig

Parameters for the tree hash.

Inheritance
System.Object
Blake2BTreeConfig
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.Blake2b
Assembly: Isopoh.Cryptography.Blake2b.dll
Syntax
public sealed class Blake2BTreeConfig

Constructors

| Improve this Doc View Source

Blake2BTreeConfig()

Initializes a new instance of the Blake2BTreeConfig class.

Declaration
public Blake2BTreeConfig()

Properties

| Improve this Doc View Source

FanOut

Gets or sets the tree fan out value.

Declaration
public int FanOut { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IntermediateHashSize

Gets or sets the intermediate hash size.

Declaration
public int IntermediateHashSize { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

LeafSize

Gets or sets the tree leaf size.

Declaration
public long LeafSize { get; set; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

MaxHeight

Gets or sets the tree maximum height.

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

Methods

| Improve this Doc View Source

CreateInterleaved(Int32)

Create an instance of the Blake2BTreeConfig for parallel hash computation.

Declaration
public static Blake2BTreeConfig CreateInterleaved(int parallelism)
Parameters
Type Name Description
System.Int32 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.

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