korlibs-archive/krypto

SecureRandom seeding

Closed this issue · 0 comments

penn5 commented

It would be useful if we can add a seed to the SecureRandom (i.e. mix in some entropy from a remote server). This is available on JVM through java.security.SecureRandom.setSeed - Reseeds this random object. The given seed supplements, rather than replaces, the existing seed. Thus, repeated calls are guaranteed never to reduce randomness.