new method hashPass

Added a new method hashPass to Auth class.