mirror of
https://github.com/Geprivilegieerde-Anonimiteit-BV/XACrypto.git
synced 2026-08-21 13:36:21 -04:00
i love rushing and making stupid mistakes!!
This commit is contained in:
@@ -68,7 +68,7 @@ public final class SHA256Advanced {
|
|||||||
public static String Byte2Hex(byte[] b) {
|
public static String Byte2Hex(byte[] b) {
|
||||||
StringBuilder o = new StringBuilder(b.length * 2);
|
StringBuilder o = new StringBuilder(b.length * 2);
|
||||||
for (byte bi : b) {
|
for (byte bi : b) {
|
||||||
o.append(String.format("%02x",b&0xff))
|
o.append(String.format("%02x",bi&0xff));
|
||||||
}
|
}
|
||||||
return o.toString();
|
return o.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user