Update for Go 1.1.
Use crypto/rand instead of reading from /dev/urandom manually.
Merge pull request #1 from schulze/master

Update to Go 1.1