Skip to content

Files

Latest commit

 

History

History

cryptography-random

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Module 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")
}

Package dev.whyoleg.cryptography.random

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