hashing algorythm formatted