我不知道它是什么类型的编码。 任何身体都知道吗?
<encrypted>
GE4dGgsGABAaSU9SRUIEGwsOHEJJQ04NAAQJAAIOGwpPRV9DTgscHAAADgwKSERFQgYPCAAaERZE SVRPTwwLABsLCwEHCQZOQk9PBAYLAAsZDQgADR1JT1JFQhYHAgALDgAHTkJPTxcEAQsHGxtCRVlJ SRwJAwBERU5IDgoKRElUT08SDA1ISRI=
</encrypted>
第一行解码base64
\u0018N\u001d\u001a\v\u0006\0\u0010\u001aIOREB\u0004\u001b\v\u000e\u001cBICN\r\0\u0004\t\0\u0002\u000e\u001b\nOE_CN\v\u001c\u001c\0\0\u000e\f\nHDEB\u0006\u000f\b\0\u001a\u0011\u0016D
答案 0 :(得分:0)
/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import javax.xml.bind.DatatypeConverter;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
byte[] bytes = DatatypeConverter.parseBase64Binary("CEwcBxcZHAAYSFJOWl4UGQoTAF1VU0wMHRgWHBIMGhdTWkNTTAoBAB8cHg4LVVhaXhYNCR0GDgpU S1VSUxMXEBkKFh0YFRZMQ1JTGxobAgoEERccHR9IUk5aXgYFAx0XERwXTENSUwgYEQkGBgddWUlL SAEVHBxUR09VEhUWVEtVUlMNEB1KSA8=");
String pass = "Username";
for (int i = 0; i < bytes.length; i++) {
bytes[i] ^= (byte)pass.charAt(i % pass.length());
System.out.print((char)bytes[i]);
}
}
}