Completed 174I

Ditched the old method, which was needlessly complicated and stupid, in
favor of SHA1. Much nicer now!