1.2.1 Release #7
@@ -15,7 +15,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.infendro:kdf:1.2.0")
|
implementation("com.infendro:kdf:1.2.1")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ dependencies {
|
|||||||
fun main() {
|
fun main() {
|
||||||
// create a PBKDF2 instance using HMAC SHA-256
|
// create a PBKDF2 instance using HMAC SHA-256
|
||||||
// this example uses 32 bytes of length and 100_000 iterations
|
// this example uses 32 bytes of length and 100_000 iterations
|
||||||
val kdf = PBKDF2(32, 100_000, `SHA-256`)
|
val kdf = PBKDF2(32, 100_000, `SHA-256`())
|
||||||
|
|
||||||
// securely hash value with some salt
|
// securely hash value with some salt
|
||||||
val value = "password".encodeToByteArray()
|
val value = "password".encodeToByteArray()
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import com.infendro.plugin.token
|
|||||||
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
||||||
|
|
||||||
group = "com.infendro"
|
group = "com.infendro"
|
||||||
version = "1.2.0"
|
version = "1.2.1"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.infendro)
|
alias(libs.plugins.infendro)
|
||||||
|
|||||||
Reference in New Issue
Block a user