Move TreeHashMessageDigest to a different package