I have a small problem:
I need the result of a small piece of java code.
I have no knowledge of java, so my tries with an online compiler failed.
Here is the codesnippet:
Code: Select all
private Static Key b()
{
String str = "7c[@D9ùdR4i7/u&9Maxt";
StringBuilder localStringBuilder = new StringBuilder();
For (int i = 0; i < "4v131M17m19Q10M1555".length(); i++)
If (!Character.isLetter("4v131M17m19Q10M1555".charAt(i)))
{
localStringBuilder.append(str.charAt(Integer.parseInt("4v131M17m19Q10M1555".charAt(i))));
}
Else
{
int j = Integer.parseInt("4v131M17m19Q10M1555".substring(i + 1, i + 3));
localStringBuilder.append(str.charAt(Integer.parseInt(j)));
i += 2;
}
Return new SecretKeySpec(localStringBuilder.toString().getBytes(), "RC4");
}
I need the 'localStringBuilder.String' and the Return value to verify my PB version.
Than you very much in advance,
Bernd