How to set the security algorithm of key in HTML5 ?
In this article, we will see how to set the security algorithm of key using HTML5. To set the security algorithm of key <keygen> tag is used. This tag specifies a key-pair generator field used for forms. The private key is saved locally and the public key is sent to the server when the form is sent. The element’s aim is to provide a safe method of user authentication. When a form is submitted, two keys, a private key and a public key, are produced. The public key is sent to the server, while the private key is kept locally. The public key is used to build a client certificate that can be used to validate the user’s identity in the future.
<keygen name = "name">
- Google Chrome
- Apple Safari
My Personal Notes arrow_drop_up
Please Login to comment...