An open API service indexing awesome lists of open source software.

https://github.com/billstclair/elm-sha256

sha256 and sha224 cryptographic hash functions for Elm
https://github.com/billstclair/elm-sha256

Last synced: 10 months ago
JSON representation

sha256 and sha224 cryptographic hash functions for Elm

Awesome Lists containing this project

README

          

# sha256 and sha224 Cryptographically Secure Hash Functions for Elm

A simple conversion of a JavaScript sha256 library to Elm.

Thank you to Yi-Cyuan Chen for the JavaScript ([github.com/emn178/js-sha256](https://github.com/emn178/js-sha256)). That code is here in Sha256.js.

To install it in your development directory:

```
elm package install billstclair/elm-sha256
```

To use it from your code:

```
import Sha256 exposing (sha256, sha224)

hash = sha256("foo")
hash2 = sha224("foo")
```

190907: Builds in Elm 0.19.1