RandomProvider

interface RandomProvider

A random source to use when generating an ML-KEM Key Pair or during encapsulation.

Inheritors

Functions

Link copied to clipboard
abstract fun fillWithRandom(byteArray: ByteArray)

Fills the byteArray with random bytes.