Generate random nonces and session key