Creates a Public Key / Private Key pair. Private Key is encrypted (based on the choice) and stored in the Local Key Database. The Public Key is sent with the form data. Also, it's way more complicated than that.
You can feel a significant lag when submitting a form (at least upon first generating)