JAVA BASE64 (ENCODE, DECODE) to String

1import org.apache.commons.codec.binary.Base64;
2 
3String value = "TEST";
4String result;
5 
6result = new String(Base64.decodeBase64(value.getBytes()),"UTF-8");

You may also like...