Re: AW: [rng] Uniform big integers

2018-12-21 Thread Gilles
apache.org Betreff: Re: [rng] Uniform big integers Hi. On Fri, 21 Dec 2018 16:04:05 +, Bernd Eckenfels wrote: Hello, The actual discussion on the OpenJDK list turned out to be a wrong understanding and the simple case of generating random bytes was enough for BigInteger. However regarding RNG

AW: [rng] Uniform big integers

2018-12-21 Thread Bernd Eckenfels
into this. Gruss Bernd -- http://bernd.eckenfels.net Von: Gilles Gesendet: Samstag, 22. Dezember 2018 00:35 An: dev@commons.apache.org Betreff: Re: [rng] Uniform big integers Hi. On Fri, 21 Dec 2018 16:04:05 +, Bernd Eckenfels wrote: > Hello, > > The actual discussion on the Ope

Re: [rng] Uniform big integers

2018-12-21 Thread Gilles
t; module. [3] http://commons.apache.org/proper/commons-rng/commons-rng-client-api/apidocs/org/apache/commons/rng/RestorableUniformRandomProvider.html Gruss Bernd -- http://bernd.eckenfels.net Von: Gilles Gesendet: Freitag, Dezember 21, 2018 4:43 PM An: dev@common

Re: [rng] Uniform big integers

2018-12-21 Thread Bernd Eckenfels
for BigInteger (and possibly BigDecimal) to the Random Providers. (Or did. You mean only the Adapter?) Gruss Bernd -- http://bernd.eckenfels.net Von: Gilles Gesendet: Freitag, Dezember 21, 2018 4:43 PM An: dev@commons.apache.org Betreff: Re: [rng] Uniform big integers

Re: [rng] Uniform big integers

2018-12-21 Thread Gilles
On Thu, 20 Dec 2018 17:30:44 +0100, Gilles wrote: Hi. On Thu, 20 Dec 2018 15:15:55 +, Bernd Eckenfels wrote: Hello, I don’t know what the usecase is, it is motivated by a Bug about BigInteger(num, Random). I guess one of the users is actually the crypto usecase (starting with random

Re: [rng] Uniform big integers

2018-12-20 Thread Gilles
Hi. On Thu, 20 Dec 2018 15:15:55 +, Bernd Eckenfels wrote: Hello, I don’t know what the usecase is, it is motivated by a Bug about BigInteger(num, Random). I guess one of the users is actually the crypto usecase (starting with random numbers to find primes). I wanted to check how RNG

[rng] Uniform big integers

2018-12-20 Thread Bernd Eckenfels
Hello, I don’t know what the usecase is, it is motivated by a Bug about BigInteger(num, Random). I guess one of the users is actually the crypto usecase (starting with random numbers to find primes). I wanted to check how RNG deals with this (since the additional need for generating a random