Fixed access

This commit is contained in:
Marcin Kostrzewski 2020-10-28 17:31:29 +01:00
parent eb6d169bf4
commit 6333067335

View File

@ -1,7 +1,7 @@
package Main; package Main;
public class Utils { public class Utils {
private static String bytesToHex(byte[] hash) { static String bytesToHex(byte[] hash) {
StringBuilder hexString = new StringBuilder(2 * hash.length); StringBuilder hexString = new StringBuilder(2 * hash.length);
for (byte b : hash) { for (byte b : hash) {
String hex = Integer.toHexString(0xff & b); String hex = Integer.toHexString(0xff & b);