size_t length()
This is the length in bytes of the hash value which is returned by finish. It's also the required size of a buffer passed to finish.