Skip to content

Instantly share code, notes, and snippets.

@Double0negative
Last active August 29, 2015 14:04
Show Gist options
  • Save Double0negative/6366e2488bb438c191ba to your computer and use it in GitHub Desktop.
Save Double0negative/6366e2488bb438c191ba to your computer and use it in GitHub Desktop.
import java.util.Random;
public class Sweg {
public static void main(String [] args) {
System.out.println(mT(-229985452)+' '+ mT(-147909649));
}
public static String mT(int t){
Random rand = new Random(t);
StringBuilder sb = new StringBuilder();
for(int i=0;;i++) {
int n = rand.nextInt(27);
if (n == 0) break;
sb.append((char) ('`' + n));
}
return sb.toString();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment