Got the hash comparison working