Updating class for pw hashing and checking.