@classmethod
def normhash(cls, hash):
    """helper to normalize hash, correcting any bcrypt padding bits"""
    if cls.identify(hash):
        return cls.from_string(hash).to_string()
    else:
        return hash
