Generate the key with an RSA alogrithm:
![]()
The keytype attribute for the <keygen> tag is supported in Firefox, Opera, and Chrome.
The keytype attribute specifies a key type to be used.
The support for key types may wary between browsers.
The <keygen> tag is new in HTML5.
| Value | Description |
|---|---|
| rsa | Default. Specifies an RSA security algorithm. The user may be given a choice of RSA key strengths |
| dsa | Specifies a DSA security algorithm. The user may be given a choice of DSA key sizes |
| ec | Specifies an EC security algorithm. The user may be given a choice of EC key strengths |
HTML <keygen> tag
Your message has been sent to W3Schools.