This repository implements Base58 in Swift, based off of the implementations written by keefertaylor & NeoTeo.
This library is built with the consideration of keeping it easy to include in your projects.
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"]),
]
import Base58
print([20].base58EncodedString()!) // print: M
print("M".base58EncodedStringToBytes()) // print: [20]
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
link |
Stars: 0 |
Last commit: 4 years ago |
Supports turning base encoded string to bytes and vice versa.
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics