@@ -0,0 +1,451 @@
+package server;%0D%0A%0D%0Aimport java.util.Random;%0D%0A%0D%0Apublic class AuthCode %7B%0D%0A%09public static String generatKey()%7B%0D%0A%09%09String alphabet = %0D%0A%09%09        new String(%220123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz%22); //9%0D%0A%09%09int n = alphabet.length(); //10%0D%0A%0D%0A%09%09String result = new String(); %0D%0A%09%09Random r = new Random(); //11%0D%0A%0D%0A%09%09for (int i=0; i%3C6; i++) //12%0D%0A%09%09    result = result + alphabet.charAt(r.nextInt(n)); //13%0D%0A%0D%0A%09%09return result;%0D%0A%09%09%7D%0D%0A%7D%0D%0A

Added new class. new class return random Auth_code string length 5