crypto changes
I iterated on the new crypto randomness generator and it now runs at ~100MB/s. In addition, many crypto functions no longer return errors. This resulted in some wide-ranging cleanups. crypto/rand
is no longer used anywhere in the project except to seed the new generator. I also removed some old mocking code while I was at it. See rand.go for the interesting new stuff.
I was pleased to see that the ratio of deletions to additions is about 3:1, which corresponds to one
if err != nil {
return err
}
block being deleted for each line added.