@Test public void test(){ byte[] b = EagleBase64Wrapper.decode("BgVz-6vkdM8AAbGAf__-trtos5aqSGPod4Q1GwA268vF50iNBgmpmAxLXKkGbxkREWcmOzT3YIx3hDUb"); byte[] c = EagleBase64Wrapper.decode("BgVz-6vkdM8AAbGAf__-trtos5aqSGPod4Q1G6pLeJcAATVuADbry8XnSI0GCamYDEtcqQZvGRERZyY7NPdgjHeENRs"); System.out.println(new String(b)); System.out.println(new String(c)); int hash = "jobType".hashCode(); byte b1 = (byte)((hash >> 24) & 0xff); byte b2 = (byte)(((hash << 8) >> 24) & 0xff); byte b3 = (byte)(((hash << 16) >> 24) & 0xff); byte b4 = (byte)(((hash << 24) >> 24) & 0xff); System.out.println(b1 + "," + b2 + "," + b3 + "," + b4); }
public static byte[] decode(String input){ return Base64.decodeBase64(input); }
EagleBase64Wrapper { public static byte[] decode(String input){ return Base64.decodeBase64(input); } }
EagleBase64Wrapper { public static byte[] decode(String input){ return Base64.decodeBase64(input); }  }
EagleBase64Wrapper { public static byte[] decode(String input){ return Base64.decodeBase64(input); }  static String encodeByteArray2URLSafeString(byte[] bytes); static byte[] decode(String input); }
EagleBase64Wrapper { public static byte[] decode(String input){ return Base64.decodeBase64(input); }  static String encodeByteArray2URLSafeString(byte[] bytes); static byte[] decode(String input);  }