From 062bad69bc9e105b9904d016aeecceff5b7696f7 Mon Sep 17 00:00:00 2001 From: lukechampine Date: Thu, 9 Jan 2020 15:39:50 -0500 Subject: [PATCH] set correct block size --- blake3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blake3.go b/blake3.go index 76b37b1..bbba202 100644 --- a/blake3.go +++ b/blake3.go @@ -317,7 +317,7 @@ func (h *Hasher) Reset() { } // BlockSize implements hash.Hash. -func (h *Hasher) BlockSize() int { return 1024 } +func (h *Hasher) BlockSize() int { return 64 } // Size implements hash.Hash. func (h *Hasher) Size() int { return h.out_size }