Created
March 27, 2013 16:21
-
-
Save 123jimin/5255598 to your computer and use it in GitHub Desktop.
An example shows that a seed can encode a 6-byte long string.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
public class X{ | |
static{ | |
byte[] b = new byte[6]; | |
new Random(0xFE7147F36BBFL).nextBytes(b); | |
System.out.println(new String(b)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment