SHA - 1

My Role

The goal was to create the hashing algorithm and then to test it on the three provided files. The provided files were three test cases that each tested the algorithm in a different way. Recreating the no longer used encryption algorithm was intended to give greater understanding of not only C but for encryption as well. The bit shifting behind the algorithm (see picture below) was already given as well as a general road map that was provided to assist in understanding what the code was trying to do. This was extremely helpful once I got on the right track.

The Difficulties

My Solution

Source