Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsfoster/elm-md5
Compute MD5 message digests in Elm
https://github.com/tsfoster/elm-md5
elm elm-lang md5
Last synced: 12 days ago
JSON representation
Compute MD5 message digests in Elm
- Host: GitHub
- URL: https://github.com/tsfoster/elm-md5
- Owner: TSFoster
- License: bsd-3-clause
- Fork: true (truqu/elm-md5)
- Created: 2018-09-06T13:42:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T08:51:35.000Z (over 3 years ago)
- Last Synced: 2024-11-24T09:08:07.128Z (2 months ago)
- Topics: elm, elm-lang, md5
- Language: Elm
- Homepage: https://package.elm-lang.org/packages/TSFoster/elm-md5/latest/
- Size: 79.1 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TSFoster/elm-md5
[![Build Status](https://travis-ci.org/TSFoster/elm-md5.svg?branch=feature%2Felm019)](https://travis-ci.org/TSFoster/elm-md5)
Compute MD5 message digests of arbitrary data in Elm.
This is a fork of [truqu/elm-md5](https://github.com/truqu/elm-md5), a much more
useful package (in almost all cases) for computing MD5 digests. This package is
useful for digesting non-string data.## Quick Start
This library exposes just one function, `fromBytes`, which takes a `List` of
`Int`s between 0 and 31, and returns the 128-bit MD5 digest as a `List` of
`Int`s between 0 and 31.```elm
import String.UTF8MD5.fromBytes (String.UTF8.toBytes "hello world")
--> [ 0x5e , 0xb6 , 0x3b , 0xbb
--> , 0xe0 , 0x1e , 0xee , 0xd0
--> , 0x93 , 0xcb , 0x22 , 0xbb
--> , 0x8f , 0x5a , 0xcd , 0xc3
--> ]
```## License
Licensed under BSD-3. See `LICENSE` file. (c) 2016-2018 Mark Orr, 2018-present
TruQu, 2018-present Toby Foster