PRNGFixes

object PRNGFixes

Fixes for the output of the default PRNG having low entropy.

The fixes need to be applied via .apply before any use of Java Cryptography Architecture primitives. A good place to invoke them is in the application's onCreate.

Types

Link copied to clipboard

SecureRandomSpi which passes all requests to the Linux PRNG (/dev/urandom).

Functions

Link copied to clipboard
fun apply()

Applies all fixes.