public byte [ ] nonce ( ) { final byte [ ] nonce = new byte [ NONCE_SIZE ] ; final SecureRandom random = new SecureRandom ( ) ; random . nextBytes ( nonce ) ; return nonce ; }
Generates a random nonce .