cryptography-random

CryptographyRandom: zero-dependency platform-dependent CSPRNG exposed via kotlin.Random API

Depending on target/platform uses:

Example

val bytes: ByteArray = CryptographyRandom.nextBytes(20)

Using in your projects

dependencies {
implementation("dev.whyoleg.cryptography:cryptography-random:0.4.0")
}

CryptographyRandom: zero-dependency platform-dependent CSPRNG exposed via kotlin.Random API

Depending on target/platform uses:

Example

val bytes: ByteArray = CryptographyRandom.nextBytes(20)

Using in your projects

dependencies {
implementation("dev.whyoleg.cryptography:cryptography-random:0.4.0")
}

Packages

Link copied to clipboard
common

CryptographyRandom: zero-dependency platform-dependent CSPRNG exposed via kotlin.Random API