Extra methods

(And random changes to the sha1binary method cause I thought it had a bug at first)