This is a Kotlin repository which has different Encrypting 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, which are writen in Java. So we're aiming to rewrite them to Kotlin. But this should be done in a separate repository.
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.
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.
This library is available at Maven Central. Feel free to copy and paste code blocks below to integrate it to your application.
build.gradle
repositories {
mavenCentral()
}
Maven
<dependency>
<groupId>dev.sublab</groupId>
<artifactId>encrypting-kotlin</artifactId>
<version>1.0.0</version>
</dependency>
Gradle
implementation 'dev.sublab:encrypting-kotlin:1.0.0'
- Our GitBook: https://docs.sublab.dev/kotlin-libraries/encrypting-library
- API reference: https://api-reference.sublab.dev/encrypting-kotlin/
Please look into our contribution guide and code of conduct prior to contributing.
- Website: sublab.dev
- E-mail: info@sublab.dev
- Telegram support channel: t.me/sublabsupport
- Twitter: twitter.com/sublabdev