icidasset/elm-sha/2.0.1

NOTE: the latest version is 2.0.2

SHA

An implementation of several SHA cryptographic hash functions.
This package uses icidasset/elm-binary to work with binary numbers.

Currently implements:

  • SHA224
  • SHA256
  • SHA384
  • SHA512
import Binary
import SHA

>>> "abc"
..>   |> Binary.fromStringAsUtf8
..>   |> SHA.sha256
..>   |> Binary.toHex
"BA7816BF8F01CFEA414140DE5DAE2223B00361A396177A9CB410FF61F20015AD"