提交 c414e8a0 authored 作者: Thomas Mueller's avatar Thomas Mueller

Remove superfluous bitwise and (found by FindBugs)

上级 036724ce
......@@ -100,7 +100,7 @@ public class SHA256 {
buff[j] = readInt(bytes, i);
}
buff[intLen - 2] = byteLen >>> 29;
buff[intLen - 1] = (byteLen << 3) & 0xffffffff;
buff[intLen - 1] = byteLen << 3;
int[] w = new int[64];
int[] hh = new int[] { 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a,
0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19 };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论