Hash Collision Attacks: SHA-1 and SHA-256