Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/avast/scala-hashes

Case-classes representing MD5, SHA1 and SHA256.
https://github.com/avast/scala-hashes

hashes library scala

Last synced: 1 day ago
JSON representation

Case-classes representing MD5, SHA1 and SHA256.

Awesome Lists containing this project

README

        

# Scala Hashes [![Build](https://github.com/avast/scala-hashes/actions/workflows/build.yml/badge.svg)](https://github.com/avast/scala-hashes/actions/workflows/build.yml) [![Version](https://badgen.net/maven/v/maven-central/com.avast.hashes/scala-hashes_2.13)](https://repo1.maven.org/maven2/com/avast/hashes/scala-hashes_2.13/)

Case-classes representing MD5, SHA1, and SHA256 hashes.

```gradle
compile "com.avast.hashes:scala-hashes_2.13:$versionHere"
```

There is also a support for [circe](https://github.com/travisbrown/circe) JSON library:
```gradle
compile "com.avast.hashes:scala-hashes-circe_2.13:$versionHere"
```
Then you can import encoders and decoders using `import com.avast.scala.hashes.circe._`