Re: [racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-12 Thread Tony Garnock-Jones
On 06/12/2015 03:15 AM, Michael Titke wrote: > In my understanding the pseudo random number generator is deterministic. > That means for the same input seed /random/ will always return the same > value. This is why one usually has to set a new state for each call of > random. If you're generating

Re: [racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-12 Thread Konrad Hinsen
On 12/06/2015 15:35, Michael Titke wrote: That does not explain the bias, I guess. I repeat: But IMHO a function (random n state/generator) should guarantee a common saturation of the destination space when the current state is filled with real randomness. I have never seen such a criterion fo

Re: [racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-12 Thread Alexander D. Knauth
On Jun 12, 2015, at 9:35 AM, Michael Titke wrote: > On 12/06/2015 13:21, Konrad Hinsen wrote: >> Seeding is provided for two use cases: 1) Reproducibility, ... 2) "Real" >> randomization, by setting the seed from some unpredictable source, such as >> the system time. In both cases, the idea i

Re: [racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-12 Thread Michael Titke
On 12/06/2015 13:21, Konrad Hinsen wrote: On 12/06/15 09:15, Michael Titke wrote: In my understanding the pseudo random number generator is deterministic. That means for the same input seed /random/ will always return the same value. This is why one usually has to set a new state for each cal

Re: [racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-12 Thread Konrad Hinsen
On 12/06/15 09:15, Michael Titke wrote: In my understanding the pseudo random number generator is deterministic. That means for the same input seed /random/ will always return the same value. This is why one usually has to set a new state for each call of random. No, quite on the contrary. Be

Re: [racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-12 Thread Michael Titke
On 12/06/2015 00:38, Matthew Flatt wrote: At Wed, 10 Jun 2015 18:44:15 +0200, Michael Titke wrote: On 10/06/2015 12:33, Michael Titke wrote: I changed from one OS to another and I was missing a simple feature: automatic password generation. To fill the gap with a Scheme I implemented such a g

Re: [racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-11 Thread Matthew Flatt
At Wed, 10 Jun 2015 18:44:15 +0200, Michael Titke wrote: > On 10/06/2015 12:33, Michael Titke wrote: > > I changed from one OS to another and I was missing a simple feature: > > automatic password generation. To fill the gap with a Scheme I > > implemented such a generator as a command line tool

Re: [racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-10 Thread Michael Titke
On 10/06/2015 12:33, Michael Titke wrote: I changed from one OS to another and I was missing a simple feature: automatic password generation. To fill the gap with a Scheme I implemented such a generator as a command line tool respectively /crypto sweet/. After having read /SRFI 27: Sources of

[racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-10 Thread Michael Titke
I changed from one OS to another and I was missing a simple feature: automatic password generation. To fill the gap with a Scheme I implemented such a generator as a command line tool respectively /crypto sweet/. After having read /SRFI 27: Sources of Random Bits/ I decided to implement my al