code: public Long getSeed() {
  		try {
  			Field f = Random.class.getDeclaredField("seed"); //NoSuchFieldException
  			f.setAccessible(true);
  			AtomicLong seed = (AtomicLong) f.get(random);
  			return seed == null ? null : seed.get();
  		} catch(Exception e) {
  			// not allowed to access
  			return null;
  		}
  	}
docs: Returns the currend seed value in Sham's internal random number generator. Since
  {@link java.util.Random java.util.Random} does not expose this directly, we use reflection
  to get it. This has been tested in Sun / Oracle JRE 1.6 - other implementations may not work
  yet. Also may not work if you're running inside a {@link SecurityManager}.
  
  @return the current value of the RNG's internal seed