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
As @Sotirios Delimanolis wrote it can be done using apache commons but you can also use google guava libraries. For example:
BaseEncoding.base32().encode("test".getBytes());
will return ORSXG5A=.
ORSXG5A=
More information can be found here.