Skip to content

sublabdev/encrypting-swift

Repository files navigation

Sublab logo

CocoaPods Compatible Swift Telegram channel GitHub License

Sublab's Encrypting Swift library

This is a Swift repository which has different Encryptiong algorithms such as ecdsa, ed25519, and sr25519, that are currently supported by Substrate ecosystem to sign extrinsics.

We don't expect yet to implement more of the algorithms unless some Substrate network develops an app which introduces new algorithm.

But currently we're borrowing implementation of some algorithms from alien libraries.

This repository collects all these algorithms to proxy them with common interface for easier usage in other Sublab's repositories.

In addition to algorithms, this repository solves key pair generation routine using those algorithms. However, even though there are a few convenient functions to cover as much as possible cases, some might be missing.

Sublab

At Sublab we're making mobile-first libraries for developers in Substrate ecosystem. However, we seek our libraries to be available not only for mobile Apple OS or Android OS, but compatible with any Swift/Kotlin environment: web servers, desktop apps, and whatnot.

Our mission is to to develop fully native open-source libraries for mobile platforms in Polkadot and Kusama ecosystems, covering everything with reliable unit-tests and providing rich documentation to the developers community.

Our goal is to have more developers to come into the world of development of client applications in Substrate ecosystem, as we find this as most promising and intelligent blockchain project we ever seen. Thus, we as mobile development gurus trying to create enormously professional libraries which might be very complicated under the hood, but very simple and convenient for final developers.

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'EncryptingSwift'

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding EncryptingSwift as a dependency is as easy as adding it to the dependencies value of your Package.swift.

.package(url: "https://github.com/sublabdev/encrypting-swift.git", from: "1.0.0")

Documentation

Contributing

Please look into our contribution guide and code of conduct prior to contributing.

Contacts