https://github.com/avast/scala-hashes
Case-classes representing MD5, SHA1 and SHA256.
https://github.com/avast/scala-hashes
hashes library scala
Last synced: 8 months ago
JSON representation
Case-classes representing MD5, SHA1 and SHA256.
- Host: GitHub
- URL: https://github.com/avast/scala-hashes
- Owner: avast
- License: mit
- Created: 2018-05-04T14:19:52.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-03-17T05:24:58.000Z (about 1 year ago)
- Last Synced: 2025-03-25T17:02:45.419Z (about 1 year ago)
- Topics: hashes, library, scala
- Language: Scala
- Size: 530 KB
- Stars: 5
- Watchers: 20
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scala Hashes [](https://github.com/avast/scala-hashes/actions/workflows/build.yml) [](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._`