{"id":20720150,"url":"https://github.com/scalajs-io/md5","last_synced_at":"2026-05-07T01:05:31.879Z","repository":{"id":77422534,"uuid":"81040473","full_name":"scalajs-io/md5","owner":"scalajs-io","description":" JavaScript function for hashing messages with MD5","archived":false,"fork":false,"pushed_at":"2019-06-17T23:09:40.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-17T22:42:35.739Z","etag":null,"topics":["md5","md5-digest","md5sum","node","nodejs","npm","scala","scalajs"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scalajs-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-06T02:36:03.000Z","updated_at":"2021-02-01T15:41:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1293c39-9908-442c-a13d-f541290d5439","html_url":"https://github.com/scalajs-io/md5","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalajs-io%2Fmd5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalajs-io%2Fmd5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalajs-io%2Fmd5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalajs-io%2Fmd5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scalajs-io","download_url":"https://codeload.github.com/scalajs-io/md5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242995884,"owners_count":20218815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["md5","md5-digest","md5sum","node","nodejs","npm","scala","scalajs"],"created_at":"2024-11-17T03:19:29.181Z","updated_at":"2026-05-07T01:05:31.846Z","avatar_url":"https://github.com/scalajs-io.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"MD5 API for Scala.js\n================================\n[MD5](https://www.npmjs.com/package/md5) - js function for hashing messages with MD5\n\n### Description\n\njs function for hashing messages with MD5.\n\n### Build Dependencies\n\n* [SBT v1.2.x](http://www.scala-sbt.org/download.html)\n\n### Build/publish the SDK locally\n\n```bash\n $ sbt clean publish-local\n```\n\n### Running the tests\n\nBefore running the tests the first time, you must ensure the npm packages are installed:\n\n```bash\n$ npm install\n```\n\nThen you can run the tests:\n\n```bash\n$ sbt test\n```\n\n### Examples\n\nConvert a string to MD5:\n\n```scala\nimport io.scalajs.npm.md5._\n\nMD5(\"Hello Wold\") //=\u003e 7e1c79bda939ad9f46a382a56df147e1\n```\n\nConvert a buffer to MD5:\n\n```scala\nimport io.scalajs.nodejs.buffer.Buffer\nimport io.scalajs.npm.md5._\n\nval buffer = Buffer.from(\"Hello Wold\")\nMD5(buffer) //=\u003e 7e1c79bda939ad9f46a382a56df147e1\n```\n\n### Artifacts and Resolvers\n\nTo add the `MD5` binding to your project, add the following to your build.sbt:  \n\n```sbt\nlibraryDependencies += \"io.scalajs.npm\" %%% \"md5\" % \"0.5.0\"\n```\n\nOptionally, you may add the Sonatype Repository resolver:\n\n```sbt   \nresolvers += Resolver.sonatypeRepo(\"releases\") \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalajs-io%2Fmd5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscalajs-io%2Fmd5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalajs-io%2Fmd5/lists"}