Adding encoding of sha1 collision for the hashing example