I am new at Java programming. So i need your help.
how can i decrypt a String.hashcode() to string again? Brute forcing?
public class flag {
public static boolean isFlag(String str) {
return str.hashCode() == 1471587914 && str.toLowerCase().hashCode() == 1472541258;
}
public static void main(String[] args) {
int a = 1471587914;
String flag = "------";
if (isFlag(flag))
System.out.println("You found it!");
else
System.out.println("Try again :(");
}
}