Skip to content

Instantly share code, notes, and snippets.

@123jimin
Created March 27, 2013 16:46
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save 123jimin/5255898 to your computer and use it in GitHub Desktop.
"Hello, world!" in Java
import java.util.Random;
class X {
public static void main(String[] s) {
byte[] a = new byte[6], b = new byte[6];
new Random(0x437950CAAB99L).nextBytes(a);
new Random(0xD6FD03B08D76L).nextBytes(b);
System.out.println(new String(a) + " " + new String(b));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment