try {
SecureRandom random = SecureRandom.getInstance("SHA1PRNG", "SUN");
String newKey = "";
newKey = newKey.concat(Base64.encode(toByteArray(random.nextLong())).trim());
newKey = newKey.concat(Base64.encode(toByteArray(random.nextLong())).trim());
newKey = newKey.concat(Base64.encode(toByteArray(random.nextLong())).trim());
newKey = newKey.concat(Base64.encode(toByteArray(random.nextLong())).trim());
newKey = newKey.replaceAll("[\\[!@#$%\\^&*\\(\\)=\\-+/]", "");