question: public static synchronized byte [ ] generateNonce ( int length ) throws NoSuchAlgorithmException { if ( random == null ) { random = SecureRandom . getInstance ( "SHA1PRNG" ) ; } byte [ ] temp = new byte [ length ] ; random . nextBytes ( temp ) ; return temp ; }
target:  Generate a nonce of the given length using the SHA1PRNG algorithm. The SecureRandom instance that backs this method is cached for efficiency.