Implemented SHA-1 for exercise 28.