Code:
public String e107(String text){
MD5 hash = new MD5(text);
String hash1=hash.getMD5();
MD5 out = new MD5(hash1);
String end = out.getMD5();
return end;
}
public static void main(String[] args)throws IOException
{
BufferedReader input = new BufferedReader (new InputStreamReader (System.in));
System.out.println("Choose one of the Methods to conculate a salted hash: \n 1. e107 \n 2. VBulletin \n 3. InvisionpowerBoard");
String vers=input.readLine();
System.out.println("Enter the String which suppose to be hashed:");
String text=input.readLine();
if(vers.equals("1")){
this.e107(text);
...
}
Hätte einer eine Idee, wieso das Problem auftritt? Würde mich über einwenig hilfe sehr freuen.