Good idea to point hash length.

As sample in few changable projects it can be 3-4 bytes, but for a lot of changing project it can be increased.
I know that need write tests, but dont know how to do it :/ Help me with tests if possible.