Conversion of string into utf-8 by the hash update function causes

issues that are visible when using browserify.

Keep digests around as buffers until the checksum is extracted.