Do not use code from this branch. Please use code from master instead.
This branch is the result of merging two pull requests: #16 by Adam Schwalm and #17 by Renaud Allard, which contained some security-related improvements. It is recommended for BSD users or for those who would like to arc4random.