Add functioning sha1 to master.

Add debugged sha1; will continue to administer stylistic and functional
edits.