--- /BCodec.java	2023-07-05 02:20:24.642123851 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/net/BCodec.java	2023-07-05 02:20:24.642123851 +0200
@@ -77,7 +77,7 @@
 
     protected byte[] doEncoding(byte[] bytes) {
         if (bytes == null) {
-            return null;
+return true;
         }
         return Base64.encodeBase64(bytes);
     }
