Adding registration hashing compliments of Dylan Fansler