{"id":13896754,"url":"https://github.com/leafo/lua-base58","last_synced_at":"2025-06-18T15:37:24.097Z","repository":{"id":27271092,"uuid":"30744020","full_name":"leafo/lua-base58","owner":"leafo","description":"base58 decode and encode for strings in pure lua","archived":false,"fork":false,"pushed_at":"2021-07-03T20:04:36.000Z","size":11,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T06:59:46.637Z","etag":null,"topics":["lapis","lua","luajit","moonscript"],"latest_commit_sha":null,"homepage":"","language":"MoonScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"vesche/scanless","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leafo.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}},"created_at":"2015-02-13T06:42:41.000Z","updated_at":"2025-05-27T06:56:29.000Z","dependencies_parsed_at":"2022-08-21T10:00:26.928Z","dependency_job_id":null,"html_url":"https://github.com/leafo/lua-base58","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/leafo/lua-base58","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flua-base58","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flua-base58/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flua-base58/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flua-base58/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafo","download_url":"https://codeload.github.com/leafo/lua-base58/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Flua-base58/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260581059,"owners_count":23031523,"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":["lapis","lua","luajit","moonscript"],"created_at":"2024-08-06T18:03:08.107Z","updated_at":"2025-06-18T15:37:19.077Z","avatar_url":"https://github.com/leafo.png","language":"MoonScript","readme":"\n# base58\n\nA Lua module for converting strings to\n[base58](http://en.wikipedia.org/wiki/Base58). It works by converting your\nstring into an interal big integer representation, then diving out the base58\ncomponents.\n\n## Example\n\n```lua\nlocal base58 = require(\"base58\")\nprint(base58.encode_base58(\"Hello world\"))\nprint(base58.decode_base58(\"TvjnTzXAiTprExJ\"))\n```\n\n## Install\n\n```\nluarocks install base58\n```\n\n# Reference\n\nAll functions are available in the `base58` module:\n\n```lua\nlocal base58 = require(\"base58\")\n```\n\nThe following alphabet is included and used by default. It's currently not\npossible to configure the alphabet without editing the source.\n\n```\nrpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz\n```\n\n#### `encode_base58(string)`\n\nEncodes the string into base58\n\n#### `decode_base58(string)`\n\nDecodes base58 back into original string. If the input passed in contains\ninvalid characters `nil` and an error message are returned.\n\n# Contact\n\nAuthor: Leaf Corcoran (leafo) ([@moonscript](http://twitter.com/moonscript))  \nEmail: leafot@gmail.com  \nHomepage: \u003chttp://leafo.net\u003e  \nLicense: MIT\n\n\n","funding_links":[],"categories":["MoonScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Flua-base58","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafo%2Flua-base58","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Flua-base58/lists"}