asoltysik / unison-md5

MD5 implementation in Unison

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unison-md5

Implementation of the MD5 message-digest algorithm in Unison. Based on pureMD5 Haskell library.

Installation

.> pull https://github.com/asoltysik/unison-md5:.releases._latest external.md5

Usage

use external.md5

md5EncodeAscii "foo"  
-- returns "acbd18db4cc2f85cedef654fccc4a4d8"

md5Encode (Bytes.fromList [97])
-- returns (Bytes.fromList [12, 193, 117, 185, 192, 241, 182, 168, 49, 195, 153, 226, 105, 119, 38, 97])

About

MD5 implementation in Unison

License:Apache License 2.0