definition and usage
The <keygen> tag specifies a key-pair generator field used for forms.
When the form is submitted, the private key is stored locally, and the public key is sent to the server.
<form action="demo_keygen.asp" method="get">
Username: <input type="text" name="usr_name"> Encryption: <keygen name="security"> <input type="submit">