ex_multihash v2.0.0 Multihash.Util

Utility functions to create multihash from data

Summary

Functions

Creates a multihash from the data provided. The hash options are

  • :sha1
  • :sha2_256
  • :sha2_512

Functions

sum(data, atom)

Specs

sum(binary, Multihash.hash_type) :: binary

Creates a multihash from the data provided. The hash options are

  • :sha1
  • :sha2_256
  • :sha2_512