
Session::token provides a secure, efficient, and simple interface for creating session tokens, password reset codes, temporary passwords, random identifiers, and anything else you can think of.
this module is one of the recommended password generators in the comparision conducted by neil bowers (http://neilb.org/reviews/passwords.html) and is characterized as "is very fast and takes random number generation very seriously".