Skip to content

yeeth/Base58.swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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