Skip to content

Commit 0f7e299

Browse files
Increased buffer for hashes (SHA-512 cause problems)
1 parent 7a8b8e5 commit 0f7e299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/YASL/Hashing/ChgCombined.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private void populate(T x, int sz, ByteBuffer res) {
6464
}
6565

6666
private ByteBuffer populate(T x, int sz) {
67-
final ByteBuffer res = ByteBuffer.allocate(32 + sz);
67+
final ByteBuffer res = ByteBuffer.allocate(256 + sz);
6868
populate(x, sz, res);
6969
for (int round = 1; res.position() < sz; round++)
7070
populate(_salting.apply(x, round), sz, res);

0 commit comments

Comments
 (0)