public static String decodeToString(byte[] base64Encoded) {
        byte[] decoded = decode(base64Encoded);
        return CodecSupport.toString(decoded);
    }
Decodes the specified Base64 encoded byte array and returns the decoded result as a UTF-8 encoded.

@param base64Encoded a Base64 encoded byte array
@return the decoded String, UTF-8 encoded.
src/main/java/org/apache/shiro/lang/codec/Base64.java