keygen tag specifies the key pair generator field to be used in the form. 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" /></form>
Concise version of HTML5 study notes (4): new elements video, audio, meter, datalist, keygen, output
HTML keygen tag