keyType attribute (keygen)
Sets the type of encryption used by the keygen element.
Possible values:
String that sets the type of encryption.
One of the following values:
Digital Signature Algorithm. | |||||||
Algorithm for public-key encryption. |
Default: RSA.
Example HTML code 1:
This example illustrates the use of the keyType attribute:
|
||||
<form method="post" action="#URL#" enctype="application/x-www-form-urlencoded"> <keygen name="key" keytype="DSA"> <input type="text" name="textToEncrypt" value="Some Text" /> <br /> <input type="submit" value="Send" /> </form> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
External links:
User Contributed Comments