Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class main {
- public static int a = 137;
- public static int z = 9;
- static int[] n = {1,5,4,0,34,1,1,0,9,1,34,1,4,5,6,0,34,1};
- public static StringBuilder stb = new StringBuilder();
- public static Scanner s = new Scanner(System.in);
- public static void main(String[] args){
- System.out.println("Bitte gebe das Passwort ein!");
- String einpw = s.nextLine();
- int encrypt = einpw.hashCode();
- int d = 351;
- stb.append(String.valueOf(a) + 0 + d + z + n[9 + 2 - 1 + 2 - 1 + 2 + 2]);
- String h = stb.toString();
- int bn = 04;
- String f = h + String.valueOf(bn);
- int ez = 13 + Integer.valueOf(f) - n[12 - z + 1 * 3 * 6 - 19];
- if(encrypt == ez - 9){
- System.out.println("YEAHHH");
- }else{
- System.out.println("FAIL");
- }
- }
- }
Add Comment
Please, Sign In to add comment