def hashPassword(self, password): """ Return a hashed version of password using SHA """ return hashlib.sha1(password).hexdigest()