Re:Android RNG Weakness Renders Bitcoin Wallets Insecure
by gojomo on Sunday August 11, 2013 @10:54PM
(#6197409)
The LinuxSecureRandom class has a 'static initializer' block, which will run as soon as the class is loaded. (That is, triggered by the reference and initialization call, but just before.)
It purports to install LinuxSecureRandom as a new systemwide default (LinuxSecureRandom, lines 56-57).
Simply initialising it is insufficient, because you need to call addProvider() (cf. https://developer.android.com/reference/java/security/Securi... ) to actually have any effect.