Skip to content

sublabdev/keccak-kotlin

Repository files navigation

Sublab logo

Maven Central Kotlin Telegram channel GitHub License

Sublab's Keccak Kotlin library

This is a Kotlin repository which contains full rewrite of Rust's keccak algorithm.

Unfortunately, most of the existing keccak implementations are either in Java, or their Kotlin implementations are too closed, so internal components cannot be modified and/or withdrawn without using reflection and other low-level language features.

This repository implements base F1600 keccak hashing, while lower sizes are still missing. This is subject to be implemented in this repository.

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

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>keccak-kotlin</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

implementation 'dev.sublab:keccak-kotlin:1.0.0'

Documentation

https://docs.sublab.dev/kotlin-libraries/keccak

Contributing

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

Contacts