Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 515 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 515 Bytes

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"