Bugfix
Create custom HashStream

The problem with the .NET CryptoStream is, that it reads the underlying stream always 1 byte ahead. This way, when hashing the first three root blocks in an object, the underlying stream is already in the last signature block.
Enable hashing on reading and writing commit object
Enable encrpytion on reading and writing commit objects