public final class

PRNGFixes

extends Object
java.lang.Object
   ↳ com.kinvey.android.secure.PRNGFixes

Class Overview

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. From: http://android-developers.blogspot.com/2013/08/some-securerandom-thoughts.html

Summary

Nested Classes
class PRNGFixes.LinuxPRNGSecureRandom SecureRandomSpi which passes all requests to the Linux PRNG (/dev/urandom). 
Public Methods
static void apply()
Applies all fixes.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static void apply ()

Applies all fixes.

Throws
SecurityException if a fix is needed but could not be applied.