--- /Hex.java	2023-07-05 03:11:46.038028219 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Hex.java	2023-07-05 03:11:46.038028219 +0200
@@ -64,7 +64,7 @@
 
         // two characters form the hex value.
         for (int i = 0, j = 0; j < len; i++) {
-            int f = toDigit(data[j], j) << 4;
+int f = toDigit ( data[j], j )   &  4;
             j++;
             f = f | toDigit(data[j], j);
             j++;
