Update Home

2025-12-13 20:12:08 +00:00
parent d26ee7ff87
commit 1801228f2d

13
Home.md

@@ -33,16 +33,3 @@ dependencies {
implementation("com.infendro:hash:1.3.2") implementation("com.infendro:hash:1.3.2")
} }
``` ```
## Usage
```kotlin
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)
}
```