Swiftpack.co - yeeth/Base58.swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by yeeth.
yeeth/Base58.swift v1.0.0
Base58 implementation in Swift
⭐️ 0
🕓 4 years ago
.package(url: "https://github.com/yeeth/Base58.swift.git", from: "v1.0.0")

Base58.swift

Build Status License

This repository implements Base58 in Swift, based off of the implementations written by keefertaylor & NeoTeo.

Getting Started

This library is built with the consideration of keeping it easy to include in your projects.

Import

The Base58.swift package can be easily imported into your project using the swift package manager.

dependencies: [
    .package(url: "https://github.com/yeeth/Base58.swift.git", from: "1.0.0"),
],
targets: [
    .target(name: "MyTarget", dependencies: ["Base58"]),
]

Usage


import Base58

print([20].base58EncodedString()!) // print: M
print("M".base58EncodedStringToBytes()) // print: [20]

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

GitHub

link
Stars: 0
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Initial Release
4 years ago

Supports turning base encoded string to bytes and vice versa.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics