From ef4d836b341f56e395b753d0b91fd93fa711db3d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 3 May 2013 20:06:56 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- pure-java/SHA3.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pure-java/SHA3.java b/pure-java/SHA3.java index 5dad5c7..2eed163 100644 --- a/pure-java/SHA3.java +++ b/pure-java/SHA3.java @@ -600,7 +600,7 @@ public class SHA3 SHA3.keccakF(S); } if ((SHA3.n & 7) != 0) - rc[rc.length - 1] &= (1 << (SHA3.n & 7)) - 1 + rc[rc.length - 1] &= (1 << (SHA3.n & 7)) - 1; return rc; } -- cgit v1.2.3-70-g09d2