{"id":21421429,"url":"https://github.com/fluency03/scala-multibase","last_synced_at":"2025-03-16T20:14:11.292Z","repository":{"id":92776673,"uuid":"156931195","full_name":"fluency03/scala-multibase","owner":"fluency03","description":"Scala implementation of Multibase (https://github.com/multiformats/multibase).","archived":false,"fork":false,"pushed_at":"2019-07-26T19:09:14.000Z","size":32,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T06:44:58.373Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluency03.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":"2018-11-10T00:01:30.000Z","updated_at":"2023-03-04T05:17:23.000Z","dependencies_parsed_at":"2023-04-28T08:12:06.091Z","dependency_job_id":null,"html_url":"https://github.com/fluency03/scala-multibase","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluency03%2Fscala-multibase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluency03%2Fscala-multibase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluency03%2Fscala-multibase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluency03%2Fscala-multibase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluency03","download_url":"https://codeload.github.com/fluency03/scala-multibase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926072,"owners_count":20369910,"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":[],"created_at":"2024-11-22T20:34:19.175Z","updated_at":"2025-03-16T20:14:11.264Z","avatar_url":"https://github.com/fluency03.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scala-multibase\n\n[![Latest release](https://img.shields.io/github/release/fluency03/scala-multibase.svg)](https://github.com/fluency03/scala-multibase/releases/latest)\n[![Maven Central](https://img.shields.io/maven-central/v/com.github.fluency03/scala-multibase_2.12.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.fluency03%22%20AND%20a:%22scala-multibase_2.12%22)\n[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n\n\u003e Scala Implementation of [Multibase](https://github.com/multiformats/multibase).\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [API](#api)\n- [Maintainers](#maintainers)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\n#### Maven\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.fluency03\u003c/groupId\u003e\n  \u003cartifactId\u003escala-multibase_2.12\u003c/artifactId\u003e\n  \u003cversion\u003e{latestVersion}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\n#### sbt\n\n```scala\nlibraryDependencies += \"com.github.fluency03\" % \"scala-multibase_2.12\" % {latestVersion}\n```\n\n\n## Usage\n\n```scala\nimport com.github.fluency03.multibase.Multibase\nimport com.github.fluency03.multibase.Base._\n\nval str = \"Multibase is awesome! \\\\o/\"\n\nMultibase.encodeString(Base32Upper, str)              // BJV2WY5DJMJQXGZJANFZSAYLXMVZW63LFEEQFY3ZP\nMultibase.encodeString(Base32Pad, str)                // cjv2wy5djmjqxgzjanfzsaylxmvzw63lfeeqfy3zp\nMultibase.encodeString(Base32PadUpper, str)           // CJV2WY5DJMJQXGZJANFZSAYLXMVZW63LFEEQFY3ZP\n\nMultibase.encodeString(Base32Z, str)                  // hji4sa7djcjozg3jypf31yamzci3s65mfrrofa53x\nMultibase.encodeString(Base58Flickr, str)             // ZxaJjNnAzU5jHQLhoLrXxcVM66Ca1VkLWAT\nMultibase.encodeString(Base58BTC, str)                // zYAjKoNbau5KiqmHPmSxYCvn66dA1vLmwbt\n\nMultibase.encodeString(Base64, str)                   // mTXVsdGliYXNlIGlzIGF3ZXNvbWUhIFxvLw\nMultibase.encodeString(Base64Pad, str)                // MTXVsdGliYXNlIGlzIGF3ZXNvbWUhIFxvLw==\nMultibase.encodeString(Base64URL, str)                // uTXVsdGliYXNlIGlzIGF3ZXNvbWUhIFxvLw\nMultibase.encodeString(Base64URLPad, str)             // UTXVsdGliYXNlIGlzIGF3ZXNvbWUhIFxvLw==\n\n\nval encodedStr: String = Multibase.encode(Base16, str.getBytes)\n// encodedStr: String = f4d756c74696261736520697320617765736f6d6521205c6f2f\n\nval decodedBytes: Array[Byte] = Multibase.decode(encodedStr)\n// decodedBytes: Array[Byte] = Array(77, 117, 108, 116, 105, 98, 97, 115, 101, 32, 105, 115, 32, 97, 119, 101, 115, 111, 109, 101, 33, 32, 92, 111, 47)\n\nval decodedStr = new String(decodedBytes)\n// decodedStr: String = Multibase is awesome! \\o/\n```\n\n## API\n\n## Maintainers\n\n[@fluency03](https://github.com/fluency03)\n\n## Contribute\n\nPRs accepted.\n\nSmall note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n## License\n\nMIT © 2018 [@fluency03](https://github.com/fluency03)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluency03%2Fscala-multibase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluency03%2Fscala-multibase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluency03%2Fscala-multibase/lists"}