what is the use of <keygen> tag?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    what is the use of <keygen> tag?

    anyone could help me to know what is <keygen> tag and why it is used in HTML5 coding?
    Educational Blog
  • Vronika
    Junior Member
    • Nov 2008
    • 4

    #2
    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">
    </form>

    Comment

    • stevex
      Member
      • Apr 2014
      • 74

      #3
      Originally posted by Vronika
      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">
      </form>
      Very well defined.Thanks for sharing.

      Comment

      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎