Skip to content

Commit

Permalink
Refactor CryptoTools
Browse files Browse the repository at this point in the history
  • Loading branch information
zHd4 committed Dec 4, 2023
1 parent 62b7f3b commit 0539f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/peew/notesr/crypto/CryptoTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static byte[] hexKeyToBytes(String hex) {
bytes[i] = (byte) Integer.parseInt(hexArray[i], 16);
}

return new byte[0];
return bytes;
}
private static String byteToHex(byte value) {
char[] hexDigits = new char[2];
Expand Down

0 comments on commit 0539f30

Please sign in to comment.