This was questions asked in one of the interviews that I recently attended.
As far as I know a random number between two numbers can be generated as follows
Does System.currentTimeMillis() count as external? You could always get this and calculate mod by some max value:
System.currentTimeMillis()
int rand = (int)(System.currentTimeMillis()%high)+low;