转自:
http://www.cnblogs.com/dyingbleed/archive/2012/12/05/2803782.html
http://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm
http://tools.ietf.org/html/rfc6238