DefaultRandomProvider

The default asia.hombre.kyber.interfaces.RandomProvider for use when the asia.hombre.kyber.interfaces.RandomProvider is not specified.

Changing this is not recommended unless you have sufficient motivation to do so. Please read org.kotlincrypto.random.CryptoRand's source code before deciding on anything.

Author

Ron Lauren Hombre

Functions

Link copied to clipboard
open override fun fillWithRandom(byteArray: ByteArray)

Uses org.kotlincrypto.random.CryptoRand.Default as a random source. This is an external library which wraps each platform's default random source to a common API.