hash_2n_n_mask

Create the parent node of two sibling nodes in a binary hash tree. Equals hash_2n_n_mask in ref.

  1. H hash_2n_n_mask(in ref H left, in ref H right, in ref M bitmask)
  2. H hash_2n_n_mask(in ref H left, in ref H right, in ref H bitmask_left, in ref H bitmask_right)
    package @safe @nogc pure nothrow
    H
    hash_2n_n_mask
    (
    alias hash_2n_n
    H
    )
    (
    in ref H left
    ,
    in ref H right
    ,
    in ref H bitmask_left
    ,
    in ref H bitmask_right
    )
    if (
    is_hash_2n_n!(hash_2n_n, H)
    )

Parameters

left
Type: H

Hash of left node.

right
Type: H

Hash of right node.

bitmask_left
Type: H

Bitmask for left hash.

bitmask_right
Type: H

Bitmask for left right.

Meta