Reworked hash verifying so it actually works. The initial tests indicate that the hash chain code works as intended. I will need to write more tests and test implementation with the rest of the system, but things look promising thus far.