diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-05-03 20:06:56 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-05-03 20:06:56 +0200 |
commit | ef4d836b341f56e395b753d0b91fd93fa711db3d (patch) | |
tree | a660645475985b077428d0cef86e29b44f03e5f6 /pure-java | |
parent | fix partial byte output (diff) | |
download | sha3sum-ef4d836b341f56e395b753d0b91fd93fa711db3d.tar.gz sha3sum-ef4d836b341f56e395b753d0b91fd93fa711db3d.tar.bz2 sha3sum-ef4d836b341f56e395b753d0b91fd93fa711db3d.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'pure-java')
-rw-r--r-- | pure-java/SHA3.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |