On 17 May 2017 at 01:33, MELVYN MALTZ <[email protected]> wrote:
> > There are several statistical tests for randomness, perhaps the easiest to > calculate is MSSD (mean squared successive differences) and you are on the > right track > Neat. I could not resist and wrote a pipeline to try the random order with SHA256 hash PIPE literal | dup 99999 | spec number from 0 1.5 r | digest sha256 append | sort 6-* | chop 5 | mssd | cons Interesting was that I did not need to sort on the full 32-byte hash, but just the first 2 byte was pretty good, and beyond 5 there was no change in the first 12 digits of MSSD. But while this particular sequence was pretty random, the next one will be the same. So maybe I need a HMAC with the TOD clock as key...
