Skip to content

icidasset/elm-sha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"