Update Utils.java

Add random nonce generator static method