/usr/share/doc/libjcifs-java-doc/examples/TestBase64.java is in libjcifs-java-doc 1.3.18-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | import jcifs.util.Base64;
import jcifs.util.Hexdump;
public class TestBase64 {
public void run(String str) throws Exception
{
Base64 b64 = new Base64();
byte[] bytes = b64.decode(str);
Hexdump.hexdump(System.out, bytes, 0, bytes.length);
}
public static void main(String[] argv) throws Exception {
if (argv.length < 1) {
System.err.println( "usage: TestBase64 <b64>" );
System.exit(1);
}
TestBase64 t = new TestBase64();
t.run(argv[0]);
}
}
|