COMP6441 : Hashes, Preimage and collision resistance