merkel v1.0.5 Merkel.Crypto
Module to perform merkle tree hashing
Link to this section Summary
Functions
Performs hash
Public helper routine to concat hashes takes hash binaries or Nodes as args
Public helper for bitcoin double hash
Link to this section Functions
Link to this function
hash(bin)
Performs hash
Either uses the default Erlang crypto library or accepts a user specified anonymous function with arity 1 which accepts a binary argument
Link to this function
hash(bin, type)
Link to this function
hash(bin, type, func)
Link to this function
hash_concat(lh, rh)
hash_concat(binary() | Merkel.BinaryNode.t(), binary() | Merkel.BinaryNode.t()) :: binary()
Public helper routine to concat hashes takes hash binaries or Nodes as args
Public helper for bitcoin double hash