{"id":19202318,"url":"https://github.com/osamingo/base58","last_synced_at":"2025-05-12T13:24:28.504Z","repository":{"id":57564234,"uuid":"334889516","full_name":"osamingo/base58","owner":"osamingo","description":"Package base58 implements encoding and  decoding of base58","archived":false,"fork":false,"pushed_at":"2025-03-22T17:11:56.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T13:36:22.108Z","etag":null,"topics":["base58","decoder","encoder","go"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/osamingo/base58","language":"Go","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/osamingo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"osamingo","custom":"https://www.paypal.me/osamingo"}},"created_at":"2021-02-01T09:02:55.000Z","updated_at":"2025-03-22T17:11:40.000Z","dependencies_parsed_at":"2024-06-19T19:14:40.938Z","dependency_job_id":null,"html_url":"https://github.com/osamingo/base58","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fbase58","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fbase58/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fbase58/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fbase58/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osamingo","download_url":"https://codeload.github.com/osamingo/base58/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745812,"owners_count":21957447,"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":["base58","decoder","encoder","go"],"created_at":"2024-11-09T12:42:13.076Z","updated_at":"2025-05-12T13:24:28.484Z","avatar_url":"https://github.com/osamingo.png","language":"Go","funding_links":["https://github.com/sponsors/osamingo","https://www.paypal.me/osamingo"],"categories":[],"sub_categories":[],"readme":"# base58\n\n[![CI](https://github.com/osamingo/base58/workflows/CI/badge.svg)](https://github.com/osamingo/base58/actions?query=workflow%3ACI)\n[![codecov](https://codecov.io/gh/osamingo/Base58/branch/main/graph/badge.svg?token=gUDT8ydUMm)](https://codecov.io/gh/osamingo/Base58)\n[![Go Report Card](https://goreportcard.com/badge/github.com/osamingo/base58)](https://goreportcard.com/report/github.com/osamingo/base58)\n[![Go Reference](https://pkg.go.dev/badge/github.com/osamingo/base58.svg)](https://pkg.go.dev/github.com/osamingo/base58)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/osamingo/base58/blob/main/LICENSE)\n\n## About\n\nThis `base58` package implements Logic optimized for unsigned int64.\n\n## Install\n\n```shell\n$ go get -u github.com/osamingo/bae58\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\n\t\"github.com/osamingo/base58\"\n)\n\nfunc main() {\n\n\tenc, err := base58.NewEncoder(base58.StandardSource)\n\tif err != nil {\n\t\tlog.Fatal(\"failed to generate base58.Encoder\", err)\n\t}\n\n\tsrc := uint64(9223372036854775808)\n\tdst := enc.Encode(src)\n\n\tlog.Println(dst)\n\t// Output: NQm6nKp8qFD\n\n\tret, err := enc.Decode(dst)\n\tif err != nil {\n\t\tlog.Fatal(\"failed to decode, dst = \"+dst, err)\n\t}\n\n\tlog.Println(ret)\n\t// Output: 9223372036854775808\n}\n```\n\n## Benchmark\n\n```\n# Machine: MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)\n# CPU    : 2.7 GHz Intel Core i7\n# Memory : 16 GB 2133 MHz LPDDR3\n\ngoos: darwin\ngoarch: amd64\npkg: github.com/osamingo/base58\nBenchmarkEncoder_Encode-8   \t15775299        71.5 ns/op      46 B/op      1 allocs/op\nBenchmarkEncoder_Decode-8   \t36928071        29.8 ns/op       0 B/op      0 allocs/op\nPASS\n```\n\n## License\n\nReleased under the [MIT License](https://github.com/osamingo/base58/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosamingo%2Fbase58","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosamingo%2Fbase58","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosamingo%2Fbase58/lists"}