Secure random update

Simple merge to update some documentation and get the think working on a newer versions of Ruby.