merkle_tree v1.1.1 MerkleTree.Crypto

This module defines some cryptographic hash functions used to hash block contents.

Summary

Types

algorithm ::
  :md5 |
  :sha |
  :sha224 |
  :sha256 |
  :sha384 |
  :sha512

Functions

hash(data, algorithm)

Specs

sha256(data)

Specs

sha256(String.t) :: String.t