Different approach for producing nonce