func (h *Hash) Sum(b []byte) []byte {
	if h.written < ChunkSize {
		return h.subhash.Sum(b)
	}
	if h.written == ChunkSize {
		return append(b, h.hashlist...)
	}
	h2 := md4.New()
	h2.Write(h.hashlist)
	return h2.Sum(b)
}
// Sum appends the current hash to b and returns the resulting slice.
// It does not change the underlying hash state.
Sum appends the current hash to b and returns the resulting slice.
It does not change the underlying hash state.
// Sum appends the current hash to b and returns the resulting slice . // It does not change the underlying hash state .
func (h *Hash) Sum(b []byte) []byte {
	if h.written < ChunkSize {
		return h.subhash.Sum(b)
	}
	if h.written == ChunkSize {
		return append(b, h.hashlist...)
	}
	h2 := md4.New()
	h2.Write(h.hashlist)
	return h2.Sum(b)
}
func ( h * Hash ) Sum ( b [ ] byte ) [ ] byte { if h . written < ChunkSize { return h . subhash . Sum ( b ) } if h . written == ChunkSize { return append ( b , h . hashlist ... ) } h2 := md4 . New ( ) h2 . Write ( h . hashlist ) return h2 . Sum ( b ) }
Sum appends the current hash to b and returns the resulting slice.
Sum appends the current hash to b and returns the resulting slice .