Infendro e9cf958ef7 update README
small rewording, link wikipedia article
2025-12-14 14:24:46 +01:00
2025-12-13 01:29:31 +01:00
2025-12-13 21:00:33 +01:00
2025-07-12 19:25:45 +02:00
2025-12-14 14:11:49 +01:00
2025-08-17 09:56:54 +02:00
2025-08-17 09:56:54 +02:00
2025-07-12 19:25:45 +02:00
2025-12-14 14:24:46 +01:00
2025-12-13 00:56:02 +01:00

hash-kt

hash-kt is a Kotlin Multiplatform library that provides common Cryptographic Hash Functions.

Supported algorithms:

  • MD5
  • SHA-1
  • SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512)
  • SHA-3 (SHA3-224, SHA3-256, SHA3-384, SHA3-512)
  • SHAKE (SHAKE128, SHAKE256)
  • Blake (Blake-224, Blake-256, Blake-384, Blake-512)
  • Blake2 (Blake2s, Blake2b)

Targets

Target Status
JVM Supported
JavaScript Supported
Native (Linux) Supported
Native (Windows) Not Supported

Installation

Add the following to your build.gradle.kts.

repositories {
    maven("https://git.infendro.com/api/packages/Infendro/maven")
}

dependencies {
    implementation("com.infendro:hash:1.3.2")
}

Usage

import com.infendro.hash.sha2.`SHA-256`

fun main() {
    // hash some value using SHA-256
    val value = "Hello World!"
        .encodeToByteArray().asUByteArray()
    val hash = `SHA-256`.hash(value)
}
Description
No description provided
Readme 506 KiB
Languages
Kotlin 100%