arnau / elm-objecthash / Objecthash

Objecthash implementation.

Based on the implementation from Ben Laurie https://github.com/benlaurie/objecthash

objecthash : Value -> String

Hash an Objecthash.Value and return it as a hexadecimal string representation.

If you need more control over the hash, Objecthash.Hash offers a range of functions to operate on elm values and lists of bytes.

fromJson : String -> Result Json.Decode.Error String

Hash a Common JSON blob and return it as a hexadecimal string representation.

If you need more control over the JSON decoder, check the Objecthash.Json module.