This commit is contained in:
@@ -20,7 +20,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.infendro:prng:1.3.0")
|
||||
implementation("com.infendro:prng:1.3.1")
|
||||
}
|
||||
```
|
||||
|
||||
@@ -29,7 +29,7 @@ dependencies {
|
||||
```kotlin
|
||||
fun main() {
|
||||
// create PRNG instance
|
||||
val rng = CSPRNG.HMAC(`SHA-256`)
|
||||
val rng = CSPRNG.HMAC(`SHA-256`())
|
||||
|
||||
// seed PRNG to receive deterministic numbers
|
||||
rng.seed(/* seed */)
|
||||
|
||||
@@ -5,7 +5,7 @@ import com.infendro.plugin.token
|
||||
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
||||
|
||||
group = "com.infendro"
|
||||
version = "1.3.0"
|
||||
version = "1.3.1"
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.infendro)
|
||||
|
||||
Reference in New Issue
Block a user