Better random number generation
Merge branch 'master' of https://github.com/benhj/teasafe