Imported hash implementation + unit tests from TripleGit now compiles clean.