目录
目录README.md

Base58

Platform Swift Package Manager compatible License

An implementation of Base58 in Swift. All credit goes to keefertaylor for publishing the implemention here, and to a2hill for fixing this issue.

Platforms

  • macOS 10.15+
  • iOS 13+

Installation

Swift Package Manager

Add the following line to your Package.swift file:

.package(url: "https://github.com/anquii/Base58.git", from: "1.0.0")

…or integrate with Xcode via File -> Swift Packages -> Add Package Dependency... using the URL of the repository.

Usage

import Base58

let base58: Base58Coding = Base58()
let encodedString = base58.encode(data: data)
let decodedData = try base58.decode(string: encodedString)

License

Base58 is licensed under the terms of the MIT license. See the LICENSE file for more information.

关于
41.0 KB
邀请码