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(H left, H right, M bitmask)
  2. H hash_2n_n_mask(H left, H right, H bitmask_left, 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 H

Hash of left node.

right H

Hash of right node.

bitmask_left H

Bitmask for left hash.

bitmask_right H

Bitmask for left right.

Meta