goja-core/src/main/java/goja/core/encry/EncodeKit.java
public static String encodeBase62(byte[] input) {
        char[] chars = new char[input.length];
        for (int i = 0; i < input.length; i++) {
            chars[i] = BASE62[((input[i] & 0xFF) % BASE62.length)];
        }
        return new String(chars);
    }
public static String encodeBase62(byte[] input) {
        char[] chars = new char[input.length];
        for (int i = 0; i < input.length; i++) {
            chars[i] = BASE62[((input[i] & 0xFF) % BASE62.length)];
        }
        return new String(chars);
    }
public static String encodeBase62 ( byte [ ] input ) { char [ ] chars = new char [ input . length ] ; for ( int i = 0 ; i < input . length ; i ++ ) { chars [ i ] = BASE62 [ ( ( input [ i ] & 0xFF ) % BASE62 . length ) ] ; } return new String ( chars ) ; }
Base62编码。
Base62编码。