is it about random function ?
because somehow I'm often stuck on it ...
diceware;
I remember reading Nicolas Dorier book years ago ...
When you call new Key(), under the hood, you are using a PRNG (Pseudo-Random-NumberGenerator) to generate your private key. On windows, it uses the RNGCryptoServiceProvider of
Windows.
On Android, I use the SecureRandom, and in fact, you can use your own implementation with
RandomUtils.Random.