Just like the title says, I am trying to encode a string \"test\" into base32 string \"ORSXG5A=\" in Java.
All I find when searching online is classes that encodes f
Apache commons-codec provides a Base32 class that does just that
Base32 base32 = new Base32(); System.out.println(base32.encodeAsString("test".getBytes()));
prints
ORSXG5A=
You can download it here.