diff --git a/README.md b/README.md index 69e1318..cc605a7 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ repositories { } dependencies { - implementation("com.infendro:hash:1.6.0") + implementation("com.infendro:hash:1.7.0") } ``` @@ -31,6 +31,6 @@ dependencies { fun main() { // hash some value using SHA-256 val value = "Hello World!".encodeToByteArray() - val hash = `SHA-256`.hash(value) + val hash = `SHA-256`().hash(value) } ``` diff --git a/build.gradle.kts b/build.gradle.kts index 1a61ef3..ac300ff 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ import com.infendro.plugin.token import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl group = "com.infendro" -version = "1.6.0" +version = "1.7.0" plugins { alias(libs.plugins.infendro)